Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2809 rexy 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
     * Compile all config files
16
     *
17
     * @api Smarty::compileAllConfig()
18
     *
19
     * @param \Smarty $smarty        passed smarty object
20
     * @param string  $extension     file extension
21
     * @param bool    $force_compile force all to recompile
22
     * @param int     $time_limit
23
     * @param int     $max_errors
24
     *
25
     * @return int number of template files recompiled
26
     */
27
    public function compileAllConfig(
28
        Smarty $smarty,
29
        $extension = '.conf',
30
        $force_compile = false,
31
        $time_limit = 0,
32
        $max_errors = null
33
    ) {
34
        return $this->compileAll($smarty, $extension, $force_compile, $time_limit, $max_errors, true);
35
    }
36
}