\Template_Lite_Compiler

Summary

Methods
Properties
Constants
Template_Lite()
load_filter()
assign()
assign_by_ref()
assign_config()
append()
append_by_ref()
clear_assign()
clear_all_assign()
clear_config()
get_template_vars()
get_config_vars()
clear_compiled_tpl()
clear_cache()
clear_all_cache()
is_cached()
register_modifier()
unregister_modifier()
register_function()
unregister_function()
register_block()
unregister_block()
register_compiler()
unregister_compiler()
register_prefilter()
unregister_prefilter()
register_postfilter()
unregister_postfilter()
register_outputfilter()
unregister_outputfilter()
register_resource()
unregister_resource()
template_exists()
_get_resource()
display()
fetch()
config_load()
_is_cached()
_fetch_compile_include()
_fetch_compile()
_run_modifier()
_run_insert()
_get_dir()
_get_plugin_dir()
_build_dir()
_destroy_dir()
trigger_error()
Template_Lite_compiler()
_compile_file()
_compile_tag()
_parse_function()
_compile_compiler_function()
_compile_custom_function()
_compile_custom_block()
_compile_if()
_parse_is_expr()
_compile_config()
_dequote()
_parse_arguments()
_parse_variables()
_parse_variable()
_parse_section_prop()
_compile_variable()
_parse_modifier()
_plugin_exists()
_load_filters()
$left_delimiter
$right_delimiter
$cache
$force_compile
$template_dir
$plugins_dir
$compile_dir
$config_dir
$cache_dir
$config_overwrite
$config_booleanize
$config_fix_new_lines
$config_read_hidden
$cache_lifetime
$encode_file_name
$php_extract_vars
$reserved_template_varname
$default_modifiers
$debugging
$compiler_file
$compiler_class
$config_class
$send_now
$force_compression
$compression_level
$enable_gzip
$_vars
$_confs
$_plugins
$_linenum
$_file
$_config_obj
$_compile_obj
$_cache_id
$_cache_dir
$_cache_info
$_sl_md5
$_version
$_version_date
$_config_module_loaded
$_templatelite_debug_info
$_templatelite_debug_loop
$_templatelite_debug_dir
$_inclusion_depth
$_null
$_resource_type
$_resource_time
$_sections
$_foreach
$_literal
$_foreachelse_stack
$_for_stack
$_sectionelse_stack
$_switch_stack
$_tag_stack
$_require_stack
$_php_blocks
$_error_level
$_db_qstr_regexp
$_si_qstr_regexp
$_qstr_regexp
$_func_regexp
$_var_bracket_regexp
$_dvar_regexp
$_cvar_regexp
$_svar_regexp
$_mod_regexp
$_var_regexp
$_obj_params_regexp
$_templatelite_vars
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$left_delimiter

$left_delimiter : 

Type

$right_delimiter

$right_delimiter : 

Type

$cache

$cache : 

Type

$force_compile

$force_compile : 

Type

$template_dir

$template_dir : 

Type

$plugins_dir

$plugins_dir : 

Type

$compile_dir

$compile_dir : 

Type

$config_dir

$config_dir : 

Type

$cache_dir

$cache_dir : 

Type

$config_overwrite

$config_overwrite : 

Type

$config_booleanize

$config_booleanize : 

Type

$config_fix_new_lines

$config_fix_new_lines : 

Type

$config_read_hidden

$config_read_hidden : 

Type

$cache_lifetime

$cache_lifetime : 

Type

$encode_file_name

$encode_file_name : 

Type

$php_extract_vars

$php_extract_vars : 

Type

$reserved_template_varname

$reserved_template_varname : 

Type

$default_modifiers

$default_modifiers : 

Type

$debugging

$debugging : 

Type

$compiler_file

$compiler_file : 

Type

$compiler_class

$compiler_class : 

Type

$config_class

$config_class : 

Type

$send_now

$send_now : 

Type

$force_compression

$force_compression : 

Type

$compression_level

$compression_level : 

Type

$enable_gzip

$enable_gzip : 

Type

$_vars

$_vars : 

Type

$_confs

$_confs : 

Type

$_plugins

$_plugins : 

Type

$_linenum

$_linenum : 

Type

$_file

$_file : 

Type

$_config_obj

$_config_obj : 

Type

$_compile_obj

$_compile_obj : 

Type

$_cache_id

$_cache_id : 

Type

$_cache_dir

$_cache_dir : 

Type

$_cache_info

$_cache_info : 

Type

$_sl_md5

$_sl_md5 : 

Type

$_version

$_version : 

Type

$_version_date

$_version_date : 

Type

$_config_module_loaded

$_config_module_loaded : 

Type

$_templatelite_debug_info

$_templatelite_debug_info : 

Type

$_templatelite_debug_loop

$_templatelite_debug_loop : 

Type

$_templatelite_debug_dir

$_templatelite_debug_dir : 

Type

$_inclusion_depth

$_inclusion_depth : 

Type

$_null

$_null : 

Type

$_resource_type

$_resource_type : 

Type

$_resource_time

$_resource_time : 

Type

$_sections

$_sections : 

Type

$_foreach

$_foreach : 

Type

$_literal

$_literal : 

Type

$_foreachelse_stack

$_foreachelse_stack : 

Type

$_for_stack

$_for_stack : 

Type

$_sectionelse_stack

$_sectionelse_stack : 

Type

$_switch_stack

$_switch_stack : 

Type

$_tag_stack

$_tag_stack : 

Type

$_require_stack

$_require_stack : 

Type

$_php_blocks

$_php_blocks : 

Type

$_error_level

$_error_level : 

Type

$_db_qstr_regexp

$_db_qstr_regexp : 

Type

$_si_qstr_regexp

$_si_qstr_regexp : 

Type

$_qstr_regexp

$_qstr_regexp : 

Type

$_func_regexp

$_func_regexp : 

Type

$_var_bracket_regexp

$_var_bracket_regexp : 

Type

$_dvar_regexp

$_dvar_regexp : 

Type

$_cvar_regexp

$_cvar_regexp : 

Type

$_svar_regexp

$_svar_regexp : 

Type

$_mod_regexp

$_mod_regexp : 

Type

$_var_regexp

$_var_regexp : 

Type

$_obj_params_regexp

$_obj_params_regexp : 

Type

$_templatelite_vars

$_templatelite_vars : 

Type

Methods

Template_Lite()

Template_Lite() 

load_filter()

load_filter(  $type,   $name) 

Parameters

$type
$name

assign()

assign(  $key,   $value = null) 

Parameters

$key
$value

assign_by_ref()

assign_by_ref(  $key,   $value = null) 

Parameters

$key
$value

assign_config()

assign_config(  $key,   $value = null) 

Parameters

$key
$value

append()

append(  $key,   $value = null,   $merge = false) 

Parameters

$key
$value
$merge

append_by_ref()

append_by_ref(  $key,   $value,   $merge = false) 

Parameters

$key
$value
$merge

clear_assign()

clear_assign(  $key = null) 

Parameters

$key

clear_all_assign()

clear_all_assign() 

clear_config()

clear_config(  $key = null) 

Parameters

$key

get_template_vars()

get_template_vars(  $key = null) 

Parameters

$key

get_config_vars()

get_config_vars(  $key = null) 

Parameters

$key

clear_compiled_tpl()

clear_compiled_tpl(  $file = null) 

Parameters

$file

clear_cache()

clear_cache(  $file = null,   $cache_id = null,   $compile_id = null,   $exp_time = null) 

Parameters

$file
$cache_id
$compile_id
$exp_time

clear_all_cache()

clear_all_cache(  $exp_time = null) 

Parameters

$exp_time

is_cached()

is_cached(  $file,   $cache_id = null) 

Parameters

$file
$cache_id

register_modifier()

register_modifier(  $modifier,   $implementation) 

Parameters

$modifier
$implementation

unregister_modifier()

unregister_modifier(  $modifier) 

Parameters

$modifier

register_function()

register_function(  $function,   $implementation) 

Parameters

$function
$implementation

unregister_function()

unregister_function(  $function) 

Parameters

$function

register_block()

register_block(  $function,   $implementation) 

Parameters

$function
$implementation

unregister_block()

unregister_block(  $function) 

Parameters

$function

register_compiler()

register_compiler(  $function,   $implementation) 

Parameters

$function
$implementation

unregister_compiler()

unregister_compiler(  $function) 

Parameters

$function

register_prefilter()

register_prefilter(  $function) 

Parameters

$function

unregister_prefilter()

unregister_prefilter(  $function) 

Parameters

$function

register_postfilter()

register_postfilter(  $function) 

Parameters

$function

unregister_postfilter()

unregister_postfilter(  $function) 

Parameters

$function

register_outputfilter()

register_outputfilter(  $function) 

Parameters

$function

unregister_outputfilter()

unregister_outputfilter(  $function) 

Parameters

$function

register_resource()

register_resource(  $type,   $functions) 

Parameters

$type
$functions

unregister_resource()

unregister_resource(  $type) 

Parameters

$type

template_exists()

template_exists(  $file) 

Parameters

$file

_get_resource()

_get_resource(  $file) 

Parameters

$file

display()

display(  $file,   $cache_id = null) 

Parameters

$file
$cache_id

fetch()

fetch(  $file,   $cache_id = null,   $display = false) 

Parameters

$file
$cache_id
$display

config_load()

config_load(  $file,   $section_name = null,   $var_name = null) 

Parameters

$file
$section_name
$var_name

_is_cached()

_is_cached(  $file,   $cache_id) 

Parameters

$file
$cache_id

_fetch_compile_include()

_fetch_compile_include(  $_templatelite_include_file,   $_templatelite_include_vars) 

Parameters

$_templatelite_include_file
$_templatelite_include_vars

_fetch_compile()

_fetch_compile(  $file) 

Parameters

$file

_run_modifier()

_run_modifier() 

_run_insert()

_run_insert(  $arguments) 

Parameters

$arguments

_get_dir()

_get_dir(  $dir,   $id = null) 

Parameters

$dir
$id

_get_plugin_dir()

_get_plugin_dir(  $plugin_name) 

Parameters

$plugin_name

_build_dir()

_build_dir(  $dir,   $id) 

Parameters

$dir
$id

_destroy_dir()

_destroy_dir(  $file,   $id,   $dir) 

Parameters

$file
$id
$dir

trigger_error()

trigger_error(  $error_msg,   $error_type = E_USER_ERROR,   $file = null,   $line = null) 

Parameters

$error_msg
$error_type
$file
$line

Template_Lite_compiler()

Template_Lite_compiler() 

_compile_file()

_compile_file(  $file_contents) 

Parameters

$file_contents

_compile_tag()

_compile_tag(  $tag) 

Parameters

$tag

_parse_function()

_parse_function(  $function,   $modifiers,   $arguments) 

Parameters

$function
$modifiers
$arguments

_compile_compiler_function()

_compile_compiler_function(  $function,   $arguments,   $_result) 

Parameters

$function
$arguments
$_result

_compile_custom_function()

_compile_custom_function(  $function,   $modifiers,   $arguments,   $_result) 

Parameters

$function
$modifiers
$arguments
$_result

_compile_custom_block()

_compile_custom_block(  $function,   $modifiers,   $arguments,   $_result) 

Parameters

$function
$modifiers
$arguments
$_result

_compile_if()

_compile_if(  $arguments,   $elseif = false,   $while = false) 

Parameters

$arguments
$elseif
$while

_parse_is_expr()

_parse_is_expr(  $is_arg,   $_arg) 

Parameters

$is_arg
$_arg

_compile_config()

_compile_config(  $variable) 

Parameters

$variable

_dequote()

_dequote(  $string) 

Parameters

$string

_parse_arguments()

_parse_arguments(  $arguments) 

Parameters

$arguments

_parse_variables()

_parse_variables(  $variables,   $modifiers) 

Parameters

$variables
$modifiers

_parse_variable()

_parse_variable(  $variable) 

Parameters

$variable

_parse_section_prop()

_parse_section_prop(  $section_prop_expr) 

Parameters

$section_prop_expr

_compile_variable()

_compile_variable(  $variable) 

Parameters

$variable

_parse_modifier()

_parse_modifier(  $variable,   $modifiers) 

Parameters

$variable
$modifiers

_plugin_exists()

_plugin_exists(  $function,   $type) 

Parameters

$function
$type

_load_filters()

_load_filters()