[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

Smarty Internal Plugin Config File Compiler This is the config file compiler class. It calls the lexer and parser to perform the compiling.

Author: Uwe Tews
File Size: 144 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Smarty_Internal_Config_File_Compiler:: (3 methods):
  __construct()
  compileSource()
  trigger_config_file_error()


Class: Smarty_Internal_Config_File_Compiler  - X-Ref

Main config file compiler class

__construct($smarty)   X-Ref
Initialize compiler

param: Smarty $smarty base instance

compileSource(Smarty_Internal_Config $config)   X-Ref
Method to compile a Smarty template.

param: Smarty_Internal_Config $config config object
return: bool true if compiling succeeded, false if it failed

trigger_config_file_error($args = null)   X-Ref
display compiler error messages without dying

If parameter $args is empty it is a parser detected syntax error.
In this case the parser is called to obtain information about exspected tokens.

If parameter $args contains a string this is used as error message

param: string $args individual error message or null



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