2014-04-01 18:38:34 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Smarty Resource Plugin
|
|
|
|
*
|
2014-10-13 09:24:53 +00:00
|
|
|
* @package Smarty
|
2014-04-01 18:38:34 +00:00
|
|
|
* @subpackage TemplateResources
|
2014-10-13 09:24:53 +00:00
|
|
|
* @author Rodney Rehm
|
2014-04-01 18:38:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Smarty Resource Plugin
|
|
|
|
* Base implementation for resource plugins that don't compile cache
|
|
|
|
*
|
2014-10-13 09:24:53 +00:00
|
|
|
* @package Smarty
|
2014-04-01 18:38:34 +00:00
|
|
|
* @subpackage TemplateResources
|
|
|
|
*/
|
|
|
|
abstract class Smarty_Resource_Recompiled extends Smarty_Resource
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* populate Compiled Object with compiled filepath
|
|
|
|
*
|
|
|
|
* @param Smarty_Template_Compiled $compiled compiled object
|
|
|
|
* @param Smarty_Internal_Template $_template template object
|
2014-10-13 09:24:53 +00:00
|
|
|
*
|
2014-04-01 18:38:34 +00:00
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function populateCompiledFilepath(Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template)
|
|
|
|
{
|
|
|
|
$compiled->filepath = false;
|
|
|
|
$compiled->timestamp = false;
|
|
|
|
$compiled->exists = false;
|
|
|
|
}
|
|
|
|
}
|