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 899B

1234567891011121314151617181920212223242526272829303132
  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
  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 integer number of template files recompiled
  25. */
  26. public function compileAllConfig(Smarty $smarty, $extension = '.conf', $force_compile = false, $time_limit = 0, $max_errors = null)
  27. {
  28. return $this->compileAll($smarty, $extension, $force_compile, $time_limit, $max_errors, true);
  29. }
  30. }