Bitrix Site Manager

CBitrixComponentTemplate::GetFile

string
GetFile();

The method returns the path to the template file relative to the site root.

Example

// In the component code
В коде компонента
$template = & $this->GetTemplate();
$templateFile = $template->GetFile();