smarty_resource_recompiled.php 824 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Smarty Resource Plugin
  4. *
  5. * @package Smarty
  6. * @subpackage TemplateResources
  7. * @author Rodney Rehm
  8. */
  9. /**
  10. * Smarty Resource Plugin
  11. *
  12. * Base implementation for resource plugins that don't compile cache
  13. *
  14. * @package Smarty
  15. * @subpackage TemplateResources
  16. */
  17. abstract class Smarty_Resource_Recompiled extends Smarty_Resource {
  18. /**
  19. * populate Compiled Object with compiled filepath
  20. *
  21. * @param Smarty_Template_Compiled $compiled compiled object
  22. * @param Smarty_Internal_Template $_template template object
  23. * @return void
  24. */
  25. public function populateCompiledFilepath(Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template)
  26. {
  27. $compiled->filepath = false;
  28. $compiled->timestamp = false;
  29. $compiled->exists = false;
  30. }
  31. }
  32. ?>