Location: PHPKode > projects > Blackwolf CMF > projectBlackWolf/lib/Template/FileParser.class.php
<?php
/* Please see the README and LICENSE files. */

/**
 * Extention of the tempalte parser to parse files holding templates
 */
class Template_FileParser extends Template_Parser {
    protected $filename;
    /**
     * Make a new template file parser
     * @param Template_File $template_file 
     */
    public function __construct($template_file){
        $this->filename = $template_file->get_name();
        $this->text = $template_file->get_text();
    }
}

?>
Return current item: Blackwolf CMF