You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smarty_internal_method_compileallconfig.php 960B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Smarty Method CompileAllConfig
  4. *
  5. * Smarty::compileAllConfig() method
  6. *
  7. * @package Smarty
  8. * @subpackage PluginsInternal
  9. * @author Uwe Tews
  10. */
  11. class Smarty_Internal_Method_CompileAllConfig extends Smarty_Internal_Method_CompileAllTemplates
  12. {
  13. /**
  14. * Compile all config files
  15. *
  16. * @api Smarty::compileAllConfig()
  17. *
  18. * @param \Smarty $smarty passed smarty object
  19. * @param string $extension file extension
  20. * @param bool $force_compile force all to recompile
  21. * @param int $time_limit
  22. * @param int $max_errors
  23. *
  24. * @return int number of template files recompiled
  25. */
  26. public function compileAllConfig(Smarty $smarty, $extension = '.conf', $force_compile = false, $time_limit = 0,
  27. $max_errors = null)
  28. {
  29. return $this->compileAll($smarty, $extension, $force_compile, $time_limit, $max_errors, true);
  30. }
  31. }