string GetFolder();
The method returns the path to the template folder relative to the site root, if the template resides in a folder. If the template is a file, the method returns an empty string.
// In the component code $template = & $this->GetTemplate(); $templateFolder = $template->GetFolder();
© 2001-2007 Bitrix | Bitrix Site Manager |