void ShowComponentTemplate();
The method connects the component template. Before calling this method, the template must be initialized by CBitrixComponent::InitComponentTemplate.
If the component does not require template, use CBitrixComponent::IncludeComponentTemplate which initializes and includes the template at a single call.
if ($this->InitComponentTemplate($templatePage)) { $template = & $this->GetTemplate(); $folderPath = $template->GetFolder(); if (strlen($folderPath) > 0) { * * * } $this->ShowComponentTemplate(); }
© 2001-2007 Bitrix | Bitrix Site Manager |