CPostingTemplate::GetByID( string path = "" );
The method GetByID returns a template by its ID (which is the relative path).
Parameter | Description |
---|---|
path | Relative path to the template folder. |
Returns an array from the file description.php. In addition, the array contains a key path set to the relative path to the template folder.
The following is an example of description.php.
<? $arTemplate = Array( "NAME"=>"News digest", "DESCRIPTION"=>"News digest template." ); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |