Library/BaseBackend.php
public function getTemplateFileContents($filename)
    {
        $templatePath = rtrim($this->config->get('templatepath', 'backend'), '\\/');
        if (empty($templatepath)) {
            $templatePath = $this->templatesPath;
        }

        return file_get_contents(
            "{$templatePath}/{$this->name}/{$filename}"
        );
    }
public function getTemplateFileContents($filename)
    {
        $templatePath = rtrim($this->config->get('templatepath', 'backend'), '\\/');
        if (empty($templatepath)) {
            $templatePath = $this->templatesPath;
        }

        return file_get_contents(
            "{$templatePath}/{$this->name}/{$filename}"
        );
    }
public function getTemplateFileContents ( $ filename ) { $ templatePath = rtrim ( $ this -> config -> get ( 'templatepath' , 'backend' ) , '\\/' ) ; if ( empty ( $ templatepath ) ) { $ templatePath = $ this -> templatesPath ; } return file_get_contents ( "{$templatePath}/{$this->name}/{$filename}" ) ; }
Resolves the path to the source template file of the backend.

@param string $filename

@return string
Resolves the path to the source template file of the backend .