Bitrix Site Manager

CBitrixComponent::IncludeComponentTemplate

void
IncludeComponentTemplate([
 string templatePage]
);

The method initializes and includes the component template. If the template initialization fails, error is displayed.

Parameters

Parameter Description
templatePage The name of a component template page. For compound components, this parameter must be specified. For simple components, it may be an empty string or may be omitted.

Example


$this->IncludeComponentTemplate();

See Also

  • CBitrixComponent::InitComponentTemplate
  • CBitrixComponent::ShowComponentTemplate