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