smarty_resource_recompiled.php 836 B

123456789101112131415161718192021222324252627282930313233
  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. * Base implementation for resource plugins that don't compile cache
  12. *
  13. * @package Smarty
  14. * @subpackage TemplateResources
  15. */
  16. abstract class Smarty_Resource_Recompiled extends Smarty_Resource
  17. {
  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. *
  24. * @return void
  25. */
  26. public function populateCompiledFilepath(Smarty_Template_Compiled $compiled, Smarty_Internal_Template $_template)
  27. {
  28. $compiled->filepath = false;
  29. $compiled->timestamp = false;
  30. $compiled->exists = false;
  31. }
  32. }