GetList
array CPostingTemplate::GetList();
Method returns list of templates. Static method.
Parameters
Method doesn't have parameters.
Returned value
Returns array with relative paths to catalog subdirectories /bitrix/php_interface/subscribe/templates
.
Example
<? //get template directories $arTemplates = CPostingTemplate::GetList(); foreach($arTemplates as $template_dir): ?> <p><?echo $template_dir?></p> <? endforeach; ?>
© «Bitrix24», 2001-2024