Documentation

GetSiteTemplate

string
GetSiteTemplate();

The method returns site template containing a component template. If this is system component template (i. e. located in the component folder), empty string is returned. Non-static method.

Example

// In component code
$template = & $this->GetTemplate();
$siteTemplate = $template->GetSiteTemplate();


© «Bitrix24», 2001-2022
Up