IncludeComponentTemplate
void IncludeComponentTemplate([ string templatePage string customTemplatePath]? );
The method initializes and connects component template. If the template initialization is unsuccessful, it displays error. Non-static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
templatePage | Component template page name. Specified for complex components. Normal components must have empty string or not specified parameter. | |
customTemplatePath | 10.0.5 |
Example
$this->IncludeComponentTemplate();
See Also
© «Bitrix24», 2001-2024