public function TemplateFile()
    {
        if (!$this->AllowCustomTemplates() ||
                !$this->content || !$this->content->GetTemplate())
        {
            return $this->BuiltInTemplateFile();
        }
        $file = Path::Combine(PathUtil::ModuleCustomTemplatesFolder($this), $this->content->GetTemplate());
        return Path::AddExtension($file, 'phtml');
    }
public function TemplateFile()
    {
        if (!$this->AllowCustomTemplates() ||
                !$this->content || !$this->content->GetTemplate())
        {
            return $this->BuiltInTemplateFile();
        }
        $file = Path::Combine(PathUtil::ModuleCustomTemplatesFolder($this), $this->content->GetTemplate());
        return Path::AddExtension($file, 'phtml');
    }
public function TemplateFile ( ) { if ( ! $ this -> AllowCustomTemplates ( ) || ! $ this -> content || ! $ this -> content -> GetTemplate ( ) ) { return $ this -> BuiltInTemplateFile ( ) ; } $ file = Path :: Combine ( PathUtil :: ModuleCustomTemplatesFolder ( $ this ) , $ this -> content -> GetTemplate ( ) ) ; return Path :: AddExtension ( $ file , 'phtml' ) ; }
The template file
@return string
The template file