[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/Smarty/libs/sysplugins/ -> smarty_internal_utility.php (summary)

Project:     Smarty: the PHP compiling template engine File:        smarty_internal_utility.php This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

Author: Monte Ohrt
Author: Uwe Tews
Copyright: 2008 New Digital Group, Inc.
Version: 3-SVN$Rev: 3286 $
File Size: 810 lines (33 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Smarty_Internal_Utility:: (6 methods):
  __construct()
  compileAllTemplates()
  compileAllConfig()
  clearCompiledTemplate()
  getTags()
  testInstall()


Class: Smarty_Internal_Utility  - X-Ref

Utility class

__construct()   X-Ref
private constructor to prevent calls creation of new instances


compileAllTemplates($extention, $force_compile, $time_limit, $max_errors, Smarty $smarty)   X-Ref
Compile all template files

param: string $extension     template file name extension
param: bool   $force_compile force all to recompile
param: int    $time_limit    set maximum execution time
param: int    $max_errors    set maximum allowed errors
param: Smarty $smarty        Smarty instance
return: integer number of template files compiled

compileAllConfig($extention, $force_compile, $time_limit, $max_errors, Smarty $smarty)   X-Ref
Compile all config files

param: string $extension     config file name extension
param: bool   $force_compile force all to recompile
param: int    $time_limit    set maximum execution time
param: int    $max_errors    set maximum allowed errors
param: Smarty $smarty        Smarty instance
return: integer number of config files compiled

clearCompiledTemplate($resource_name, $compile_id, $exp_time, Smarty $smarty)   X-Ref
Delete compiled template file

param: string  $resource_name template name
param: string  $compile_id    compile id
param: integer $exp_time      expiration time
param: Smarty  $smarty        Smarty instance
return: integer number of template files deleted

getTags(Smarty_Internal_Template $template)   X-Ref
Return array of tag/attributes of all tags used by an template

param: Smarty_Internal_Template $templae template object
return: array of tag/attributes

testInstall(Smarty $smarty, &$errors=null)   X-Ref
diagnose Smarty setup

If $errors is secified, the diagnostic report will be appended to the array, rather than being output.

param: Smarty $smarty  Smarty instance to test
param: array  $errors array to push results into rather than outputting them
return: bool status, true if everything is fine, false else



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1