Contao\TemplateInheritance::getTemplatePath PHP Метод

getTemplatePath() защищенный Метод

Find a particular template file and return its path
protected getTemplatePath ( string $strTemplate, string $strFormat = 'html5', boolean $blnDefault = false ) : string
$strTemplate string The name of the template
$strFormat string The file extension
$blnDefault boolean If true, the default template path is returned
Результат string The path to the template file
    protected function getTemplatePath($strTemplate, $strFormat = 'html5', $blnDefault = false)
    {
        if ($blnDefault) {
            return \TemplateLoader::getDefaultPath($strTemplate, $strFormat);
        }
        return \Controller::getTemplate($strTemplate, $strFormat);
    }