src/Hups/Util/PHPTemplate.php
public function findTemplateFile($filename)
    {
        foreach ($this->dir as $index => $dirname)
        {
            if (is_dir($dirname) && file_exists($dirname . '/' . $filename)) {
                return $dirname . '/' . $filename;
            }
        }

        return null;
    }
public function findTemplateFile($filename)
    {
        foreach ($this->dir as $index => $dirname)
        {
            if (is_dir($dirname) && file_exists($dirname . '/' . $filename)) {
                return $dirname . '/' . $filename;
            }
        }

        return null;
    }
public function findTemplateFile ( $ filename ) { foreach ( $ this -> dir as $ index => $ dirname ) { if ( is_dir ( $ dirname ) && file_exists ( $ dirname . '/' . $ filename ) ) { return $ dirname . '/' . $ filename ; } } return null ; }
Find a file in the template directories
@param  string $filename
@return string|null
Find a file in the template directories