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