]> git.mxchange.org Git - friendica.git/blob - vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_compileallconfig.php
Merge pull request #4233 from MrPetovan/task/4116-move-smarty-to-composer
[friendica.git] / vendor / smarty / smarty / libs / sysplugins / smarty_internal_method_compileallconfig.php
1 <?php
2
3 /**
4  * Smarty Method CompileAllConfig
5  *
6  * Smarty::compileAllConfig() method
7  *
8  * @package    Smarty
9  * @subpackage PluginsInternal
10  * @author     Uwe Tews
11  */
12 class Smarty_Internal_Method_CompileAllConfig extends Smarty_Internal_Method_CompileAllTemplates
13 {
14
15     /**
16      * Compile all config files
17      *
18      * @api  Smarty::compileAllConfig()
19      *
20      * @param \Smarty $smarty        passed smarty object
21      * @param  string $extension     file extension
22      * @param  bool   $force_compile force all to recompile
23      * @param  int    $time_limit
24      * @param  int    $max_errors
25      *
26      * @return int number of template files recompiled
27      */
28     public function compileAllConfig(Smarty $smarty, $extension = '.conf', $force_compile = false, $time_limit = 0,
29                                      $max_errors = null)
30     {
31         return $this->compileAll($smarty, $extension, $force_compile, $time_limit, $max_errors, true);
32     }
33 }