Class Smarty_Compiler
Template compiling class
- Smarty
- Smarty_Compiler
Copyright: 2001-2005 New Digital Group, Inc.
Author: Monte Ohrt <monte at ohrt dot com>
Author: Andrei Zmievski <andrei@php.net>
Located at xoops_trust_path/libs/smarty/Smarty_Compiler.class.php
public
|
|
public
true
|
#
_compile_file( string $resource_name, string $source_content, string & $compiled_content )
compile a resource |
public
string
|
|
public
boolean
|
#
_compile_compiler_tag( string $tag_command, string $tag_args, string & $output )
compile the custom compiler tag |
public
boolean
|
#
_compile_block_tag( string $tag_command, string $tag_args, string $tag_modifier, string & $output )
compile block function tag |
public
string
|
#
_compile_custom_tag( string $tag_command, string $tag_args, string $tag_modifier, & $output )
compile custom function tag |
public
string
|
#
_compile_registered_object_tag( string $tag_command, array $attrs, string $tag_modifier )
compile a registered object tag |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
#
_compile_capture_tag( boolean $start, string $tag_args = '' )
Compile {capture} .. {/capture} tags |
public
string
|
|
public
|
|
public
array
|
|
public
array
|
|
public
|
#
_parse_vars_props( array & $tokens )
compile multiple variables and section properties tokens into PHP code |
public
string
|
#
_parse_var_props( string $val )
compile single variable and section properties token into PHP code |
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
#
_compile_plugin_call( string $type, string $name )
compiles call to plugin of type $type with name $name returns a string containing the function-name or method call without the paramter-list that would have follow to make the call valid php-syntax |
public
|
|
public
string
|
|
public
|
#
_syntax_error( string $error_msg, integer $error_type = E_USER_ERROR, string $file = null, integer $line = null )
display Smarty syntax error |
public
string
|
#
_push_cacheable_state( $type, $name )
check if the compilation changes from cacheable to non-cacheable state with the beginning of the current plugin. return php-code to reflect the transition. |
public
string
|
#
_pop_cacheable_state( $type, $name )
check if the compilation changes from non-cacheable to cacheable state with the end of the current plugin return php-code to reflect the transition. |
public
|
|
public
string
|
public
array
|
$_folded_blocks | array() |
|
public
|
$_current_file | null |
|
public
integer
|
$_current_line_no | 1 |
|
public
array
|
$_capture_stack | array() |
|
public
array
|
$_plugin_info | array() |
|
public
boolean
|
$_init_smarty_vars | false |
|
public
array
|
$_permitted_tokens | array('true','false','yes','no','on','off','null') |
|
public
|
$_db_qstr_regexp | null |
|
public
|
$_si_qstr_regexp | null |
|
public
|
$_qstr_regexp | null |
|
public
|
$_func_regexp | null |
|
public
|
$_reg_obj_regexp | null |
|
public
|
$_var_bracket_regexp | null |
|
public
|
$_num_const_regexp | null |
|
public
|
$_dvar_guts_regexp | null |
|
public
|
$_dvar_regexp | null |
|
public
|
$_cvar_regexp | null |
|
public
|
$_svar_regexp | null |
|
public
|
$_avar_regexp | null |
|
public
|
$_mod_regexp | null |
|
public
|
$_var_regexp | null |
|
public
|
$_parenth_param_regexp | null |
|
public
|
$_func_call_regexp | null |
|
public
|
$_obj_ext_regexp | null |
|
public
|
$_obj_start_regexp | null |
|
public
|
$_obj_params_regexp | null |
|
public
|
$_obj_call_regexp | null |
|
public
integer
|
$_cacheable_state | 0 |
|
public
integer
|
$_cache_attrs_count | 0 |
|
public
integer
|
$_nocache_count | 0 |
|
public
|
$_cache_serial | null |
|
public
string
|
$_cache_include | null |
#
name of optional cache include file |
public
integer
|
$_strip_depth | 0 |
|
public
string
|
$_additional_newline | "\n" |