Bitrix Site Manager

CBitrixComponentTemplate::GetSiteTemplate

string
GetSiteTemplate();

The method returns the site template where the component template reside. If it is a system component template (that is, it exists in the component folder), an empty string is returned.

Example


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