Deutschland United States United Kingdom
ContentLion - Open Source CMS

resourcerecompiled.php

Blame | Last modification | View Log

<?php
/**
 * Smarty Resource Plugin
 *
 * @package Smarty
 * @subpackage TemplateResources
 * @author Rodney Rehm
 */


/**
 * Smarty Resource Plugin
 *
 * Base implementation for resource plugins that don't compile cache
 *
 * @package Smarty
 * @subpackage TemplateResources
 */

abstract class Plugin_Smarty_ResourceRecompiled extends Plugin_Smarty_Resource
{
    /**
     * populate Compiled Object with compiled filepath
     *
     * @param  Plugin_Smarty_TemplateCompiled $compiled  compiled object
     * @param  Plugin_Smarty_InternalTemplate $_template template object
     * @return void
     */

    public function populateCompiledFilepath(Plugin_Smarty_TemplateCompiled $compiled, Plugin_Smarty_InternalTemplate $_template)
    {
        $compiled->filepath = false;
        $compiled->timestamp = false;
        $compiled->exists = false;
    }

}