GetFolder
string GetFolder();
The method returns template folder path relative to site root, if the template is located inside folder. If template is a standalone file, this method returns empty string. Non-static method.
Example
// In component code $template = & $this->GetTemplate(); $templateFolder = $template->GetFolder();
© «Bitrix24», 2001-2024