XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
Smarty Class Reference
Inheritance diagram for Smarty:
Inheritance graph

Public Member Functions

 _compile_resource ($resource_name, $compile_path)
 
 _compile_source ($resource_name, &$source_content, &$compiled_content, $cache_include_path=null)
 
 _dequote ($string)
 
 _eval ($code, $params=null)
 
 _fetch_resource_info (&$params)
 
 _get_auto_filename ($auto_base, $auto_source=null, $auto_id=null)
 
 _get_auto_id ($cache_id=null, $compile_id=null)
 
 _get_compile_path ($resource_name)
 
 _get_filter_name ($function)
 
 _get_plugin_filepath ($type, $name)
 
 _include ($filename, $once=false, $params=null)
 
 _is_compiled ($resource_name, $compile_path)
 
 _parse_resource_name (&$params)
 
 _process_compiled_include_callback ($match)
 
 _read_file ($filename)
 
 _run_mod_handler ()
 
_smarty_cache_attrs ($cache_serial, $count)
 
 _smarty_include ($params)
 
 _trigger_fatal_error ($error_msg, $tpl_file=null, $tpl_line=null, $file=null, $line=null, $error_type=E_USER_ERROR)
 
 _unlink ($resource, $exp_time=null)
 
 append ($tpl_var, $value=null, $merge=false)
 
 append_by_ref ($tpl_var, &$value, $merge=false)
 
 assign ($tpl_var, $value=null)
 
 assign_by_ref ($tpl_var, &$value)
 
 clear_all_assign ()
 
 clear_all_cache ($exp_time=null)
 
 clear_assign ($tpl_var)
 
 clear_cache ($tpl_file=null, $cache_id=null, $compile_id=null, $exp_time=null)
 
 clear_compiled_tpl ($tpl_file=null, $compile_id=null, $exp_time=null)
 
 clear_config ($var=null)
 
 config_load ($file, $section=null, $scope= 'global')
 
 display ($resource_name, $cache_id=null, $compile_id=null)
 
 fetch ($resource_name, $cache_id=null, $compile_id=null, $display=false)
 
get_config_vars ($name=null)
 
get_registered_object ($name)
 
get_template_vars ($name=null)
 
 is_cached ($tpl_file, $cache_id=null, $compile_id=null)
 
 load_filter ($type, $name)
 
 register_block ($block, $block_impl, $cacheable=true, $cache_attrs=null)
 
 register_compiler_function ($function, $function_impl, $cacheable=true)
 
 register_function ($function, $function_impl, $cacheable=true, $cache_attrs=null)
 
 register_modifier ($modifier, $modifier_impl)
 
 register_object ($object, &$object_impl, $allowed=array(), $smarty_args=true, $block_methods=array())
 
 register_outputfilter ($function)
 
 register_postfilter ($function)
 
 register_prefilter ($function)
 
 register_resource ($type, $functions)
 
 Smarty ()
 
 template_exists ($tpl_file)
 
 trigger_error ($error_msg, $error_type=E_USER_WARNING)
 
 unregister_block ($block)
 
 unregister_compiler_function ($function)
 
 unregister_function ($function)
 
 unregister_modifier ($modifier)
 
 unregister_object ($object)
 
 unregister_outputfilter ($function)
 
 unregister_postfilter ($function)
 
 unregister_prefilter ($function)
 
 unregister_resource ($type)
 

Public Attributes

 $_cache_include = null
 
 $_cache_including = false
 
 $_cache_info = array()
 
 $_cache_serials = array()
 
 $_compile_id = null
 
 $_conf_obj = null
 
 $_config = array(array('vars' => array(), 'files' => array()))
 
 $_dir_perms = 0771
 
 $_file_perms = 0644
 
 $_foreach = array()
 
 $_inclusion_depth = 0
 
 $_plugins
 
 $_reg_objects = array()
 
 $_sections = array()
 
 $_smarty_debug_id = 'SMARTY_DEBUG'
 
 $_smarty_debug_info = array()
 
 $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'
 
 $_smarty_vars = null
 
 $_tag_stack = array()
 
 $_tpl_vars = array()
 
 $_version = '2.6.27'
 
 $autoload_filters = array()
 
 $cache_dir = 'cache'
 
 $cache_handler_func = null
 
 $cache_lifetime = 3600
 
 $cache_modified_check = false
 
 $caching = 0
 
 $compile_check = true
 
 $compile_dir = 'templates_c'
 
 $compile_id = null
 
 $compiler_class = 'Smarty_Compiler'
 
 $compiler_file = 'Smarty_Compiler.class.php'
 
 $config_booleanize = true
 
 $config_class = 'Config_File'
 
 $config_dir = 'configs'
 
 $config_fix_newlines = true
 
 $config_overwrite = true
 
 $config_read_hidden = false
 
 $debug_tpl = ''
 
 $debugging = false
 
 $debugging_ctrl = 'NONE'
 
 $default_modifiers = array()
 
 $default_resource_type = 'file'
 
 $default_template_handler_func = ''
 
 $error_reporting = null
 
 $force_compile = false
 
 $left_delimiter = '{'
 
 $php_handling = SMARTY_PHP_PASSTHRU
 
 $plugins_dir = array('plugins')
 
 $request_use_auto_globals = true
 
 $request_vars_order = 'EGPCS'
 
 $right_delimiter = '}'
 
 $secure_dir = array()
 
 $security = false
 
 $security_settings
 
 $template_dir = 'templates'
 
 $trusted_dir = array()
 
 $use_sub_dirs = false
 

Detailed Description

Definition at line 64 of file Smarty.class.php.

Member Function Documentation

Smarty::_compile_resource (   $resource_name,
  $compile_path 
)

compile the template

Parameters
string$resource_name
string$compile_path
Returns
boolean

Definition at line 1412 of file Smarty.class.php.

References $_cache_include, _compile_source(), _fetch_resource_info(), smarty_core_write_compiled_include(), and smarty_core_write_compiled_resource().

Referenced by _smarty_include(), and fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::_compile_source (   $resource_name,
$source_content,
$compiled_content,
  $cache_include_path = null 
)

compile the given source

Parameters
string$resource_name
string$source_content
string$compiled_content
Returns
boolean

Definition at line 1449 of file Smarty.class.php.

References $_compile_id, $_config, $_plugins, $_reg_objects, $_tpl_vars, $_version, $caching, $compile_dir, $compiler_class, $config_dir, $default_modifiers, $force_compile, $left_delimiter, $php_handling, $plugins_dir, $request_use_auto_globals, $right_delimiter, $secure_dir, $security, $security_settings, $template_dir, $trusted_dir, $use_sub_dirs, and SMARTY_DIR.

Referenced by _compile_resource().

Here is the caller graph for this function:

Smarty::_dequote (   $string)

Remove starting and ending quotes from the string

Parameters
string$string
Returns
string

Definition at line 1698 of file Smarty.class.php.

Referenced by Smarty_Compiler\_compile_foreach_start(), Smarty_Compiler\_compile_include_php_tag(), Smarty_Compiler\_compile_insert_tag(), and Smarty_Compiler\_compile_registered_object_tag().

Here is the caller graph for this function:

Smarty::_eval (   $code,
  $params = null 
)

wrapper for eval() retaining $this

Returns
mixed

Definition at line 1933 of file Smarty.class.php.

Smarty::_fetch_resource_info ( $params)

fetch the template info. Gets timestamp, and source if get_source is true

sets $source_content to the source of the template, and $resource_timestamp to its time stamp

Parameters
string$resource_name
string$source_content
integer$resource_timestamp
boolean$get_source
boolean$quiet
Returns
boolean

Definition at line 1532 of file Smarty.class.php.

References $template_dir, _parse_resource_name(), _read_file(), smarty_core_is_secure(), and trigger_error().

Referenced by _compile_resource(), _is_compiled(), and template_exists().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::_get_auto_filename (   $auto_base,
  $auto_source = null,
  $auto_id = null 
)

get a concrete filename for automagically created content

Parameters
string$auto_base
string$auto_source
string$auto_id
Returns
string string|null string|null

Definition at line 1738 of file Smarty.class.php.

References DIRECTORY_SEPARATOR.

Referenced by _get_compile_path().

Here is the caller graph for this function:

Smarty::_get_auto_id (   $cache_id = null,
  $compile_id = null 
)

returns an auto_id for auto-file-functions

Parameters
string$cache_id
string$compile_id
Returns
string|null

Definition at line 1788 of file Smarty.class.php.

References $compile_id.

Referenced by clear_cache().

Here is the caller graph for this function:

Smarty::_get_compile_path (   $resource_name)

Get the compile path for this resource

Parameters
string$resource_name
Returns
string results of _get_auto_filename()

Definition at line 1512 of file Smarty.class.php.

References _get_auto_filename().

Referenced by _smarty_include(), and fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::_get_filter_name (   $function)

Extracts the filter name from the given callback

Parameters
callback$function
Returns
string

Definition at line 1944 of file Smarty.class.php.

Referenced by register_outputfilter(), register_postfilter(), register_prefilter(), unregister_outputfilter(), unregister_postfilter(), and unregister_prefilter().

Here is the caller graph for this function:

Smarty::_get_plugin_filepath (   $type,
  $name 
)

get filepath of requested plugin

Parameters
string$type
string$name
Returns
string|false

Definition at line 1365 of file Smarty.class.php.

References $type, and smarty_core_assemble_plugin_filepath().

Referenced by Smarty_Compiler\_compile_block_tag(), Smarty_Compiler\_compile_compiler_tag(), Smarty_Compiler\_compile_custom_tag(), Smarty_Compiler\_parse_modifiers(), and config_load().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::_include (   $filename,
  $once = false,
  $params = null 
)

wrapper for include() retaining $this

Returns
mixed

Definition at line 1919 of file Smarty.class.php.

Smarty::_is_compiled (   $resource_name,
  $compile_path 
)

test if resource needs compiling

Parameters
string$resource_name
string$compile_path
Returns
boolean

Definition at line 1379 of file Smarty.class.php.

References _fetch_resource_info().

Referenced by _smarty_include(), and fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::_parse_resource_name ( $params)

parse out the type and name from the resource

Parameters
string$resource_base_path
string$resource_name
string$resource_type
string$resource_name
Returns
boolean

Definition at line 1616 of file Smarty.class.php.

References $default_resource_type, DIRECTORY_SEPARATOR, smarty_core_get_include_path(), and smarty_core_load_resource_plugin().

Referenced by _fetch_resource_info().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::_process_compiled_include_callback (   $match)

callback function for preg_replace, to call a non-cacheable block

Returns
string

Definition at line 1827 of file Smarty.class.php.

Smarty::_read_file (   $filename)

read in a file

Parameters
string$filename
Returns
string

Definition at line 1714 of file Smarty.class.php.

Referenced by _fetch_resource_info().

Here is the caller graph for this function:

Smarty::_run_mod_handler ( )

Handle modifiers

Parameters
string | null$modifier_name
array | null$map_array
Returns
string result of modifiers

Definition at line 1677 of file Smarty.class.php.

& Smarty::_smarty_cache_attrs (   $cache_serial,
  $count 
)

get or set an array of cached attributes for function that is not cacheable

Returns
array

Definition at line 1896 of file Smarty.class.php.

Smarty::_smarty_include (   $params)

called for included templates

Parameters
string$_smarty_include_tpl_file
string$_smarty_include_vars

Definition at line 1846 of file Smarty.class.php.

References _compile_resource(), _get_compile_path(), _is_compiled(), caching, and smarty_core_get_microtime().

Here is the call graph for this function:

Smarty::_trigger_fatal_error (   $error_msg,
  $tpl_file = null,
  $tpl_line = null,
  $file = null,
  $line = null,
  $error_type = E_USER_ERROR 
)

trigger Smarty plugin error

Parameters
string$error_msg
string$tpl_file
integer$tpl_line
string$file
integer$line
integer$error_type

Definition at line 1807 of file Smarty.class.php.

References $file, and trigger_error().

Referenced by Smarty_Compiler\_compile_file(), Smarty_Compiler\_compile_registered_object_tag(), Smarty_Compiler\_parse_modifiers(), Smarty_Compiler\_syntax_error(), and get_registered_object().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::_unlink (   $resource,
  $exp_time = null 
)

unlink a file, possibly using expiration time

Parameters
string$resource
integer$exp_time

Definition at line 1770 of file Smarty.class.php.

Smarty::append (   $tpl_var,
  $value = null,
  $merge = false 
)

appends values to template variables

Parameters
array | string$tpl_varthe template variable name(s)
mixed$valuethe value to append

Definition at line 613 of file Smarty.class.php.

Smarty::append_by_ref (   $tpl_var,
$value,
  $merge = false 
)

appends values to template variables by reference

Parameters
string$tpl_varthe template variable name
mixed$valuethe referenced value to append

Definition at line 653 of file Smarty.class.php.

Smarty::assign (   $tpl_var,
  $value = null 
)

assigns values to template variables

Parameters
array | string$tpl_varthe template variable name(s)
mixed$valuethe value to assign

Definition at line 581 of file Smarty.class.php.

Referenced by Smarty().

Here is the caller graph for this function:

Smarty::assign_by_ref (   $tpl_var,
$value 
)

assigns values to template variables by reference

Parameters
string$tpl_varthe template variable name
mixed$valuethe referenced value to assign

Definition at line 601 of file Smarty.class.php.

Smarty::clear_all_assign ( )

clear all the assigned template variables.

Definition at line 1004 of file Smarty.class.php.

Smarty::clear_all_cache (   $exp_time = null)

clear the entire contents of cache (all templates)

Parameters
string$exp_timeexpire time
Returns
boolean results of smarty_core_rm_auto()

Definition at line 968 of file Smarty.class.php.

References clear_cache().

Here is the call graph for this function:

Smarty::clear_assign (   $tpl_var)

clear the given assigned template variable.

Parameters
string$tpl_varthe template variable to clear

Definition at line 675 of file Smarty.class.php.

Smarty::clear_cache (   $tpl_file = null,
  $cache_id = null,
  $compile_id = null,
  $exp_time = null 
)

clear cached content for the given template and cache id

Parameters
string$tpl_filename of template file
string$cache_idname of cache_id
string$compile_idname of compile_id
string$exp_timeexpiration time
Returns
boolean

Definition at line 936 of file Smarty.class.php.

References $compile_id, _get_auto_id(), and smarty_core_rm_auto().

Referenced by clear_all_cache().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::clear_compiled_tpl (   $tpl_file = null,
  $compile_id = null,
  $exp_time = null 
)

clears compiled version of specified template resource, or all compiled template files if one is not specified. This function is for advanced use only, not normally needed.

Parameters
string$tpl_file
string$compile_id
string$exp_time
Returns
boolean results of smarty_core_rm_auto()

Definition at line 1019 of file Smarty.class.php.

References $compile_id, and smarty_core_rm_auto().

Here is the call graph for this function:

Smarty::clear_config (   $var = null)

clear configuration values

Parameters
string$var

Definition at line 1347 of file Smarty.class.php.

References $var.

Smarty::config_load (   $file,
  $section = null,
  $scope = 'global' 
)

load configuration values

Parameters
string$file
string$section
string$scope

Definition at line 1320 of file Smarty.class.php.

References $file, _get_plugin_filepath(), and smarty_function_config_load().

Here is the call graph for this function:

Smarty::display (   $resource_name,
  $cache_id = null,
  $compile_id = null 
)

executes & displays the template results

Parameters
string$resource_name
string$cache_id
string$compile_id

Definition at line 1105 of file Smarty.class.php.

References $compile_id, and fetch().

Here is the call graph for this function:

Smarty::fetch (   $resource_name,
  $cache_id = null,
  $compile_id = null,
  $display = false 
)

executes & returns or displays the template results

Parameters
string$resource_name
string$cache_id
string$compile_id
boolean$display

Definition at line 1118 of file Smarty.class.php.

References $_cache_including, $_cache_info, $_SERVER, $compile_id, $GLOBALS, $request_use_auto_globals, _compile_resource(), _get_compile_path(), _is_compiled(), caching, load_filter(), smarty_core_display_debug_console(), smarty_core_get_microtime(), smarty_core_load_plugins(), smarty_core_process_cached_inserts(), smarty_core_process_compiled_include(), smarty_core_read_cache_file(), and smarty_core_write_cache_file().

Referenced by display().

Here is the call graph for this function:

Here is the caller graph for this function:

& Smarty::get_config_vars (   $name = null)

Returns an array containing config variables

Parameters
string$name
string$type
Returns
array

Definition at line 1072 of file Smarty.class.php.

& Smarty::get_registered_object (   $name)

return a reference to a registered object

Parameters
string$name
Returns
object

Definition at line 1332 of file Smarty.class.php.

References _trigger_fatal_error().

Here is the call graph for this function:

& Smarty::get_template_vars (   $name = null)

Returns an array containing template variables

Parameters
string$name
string$type
Returns
array

Definition at line 1052 of file Smarty.class.php.

References $_tpl_vars.

Smarty::is_cached (   $tpl_file,
  $cache_id = null,
  $compile_id = null 
)

test to see if valid cache exists for this template

Parameters
string$tpl_filename of template file
string$cache_id
string$compile_id
Returns
string|false results of _read_cache_file()

Definition at line 982 of file Smarty.class.php.

References $compile_id, caching, and smarty_core_read_cache_file().

Here is the call graph for this function:

Smarty::load_filter (   $type,
  $name 
)

load a filter of specified type and name

Parameters
string$typefilter type
string$namefilter name

Definition at line 910 of file Smarty.class.php.

References $type, and smarty_core_load_plugins().

Referenced by fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

Smarty::register_block (   $block,
  $block_impl,
  $cacheable = true,
  $cache_attrs = null 
)

Registers block function to be used in templates

Parameters
string$blockname of template block
string$block_implPHP function to register

Definition at line 742 of file Smarty.class.php.

Smarty::register_compiler_function (   $function,
  $function_impl,
  $cacheable = true 
)

Registers compiler function

Parameters
string$functionname of template function
string$function_implname of PHP function to register

Definition at line 764 of file Smarty.class.php.

Smarty::register_function (   $function,
  $function_impl,
  $cacheable = true,
  $cache_attrs = null 
)

Registers custom function to be used in templates

Parameters
string$functionthe name of the template function
string$function_implthe name of the PHP function to register

Definition at line 691 of file Smarty.class.php.

Smarty::register_modifier (   $modifier,
  $modifier_impl 
)

Registers modifier to be used in templates

Parameters
string$modifiername of template modifier
string$modifier_implname of PHP function to register

Definition at line 786 of file Smarty.class.php.

Smarty::register_object (   $object,
$object_impl,
  $allowed = array(),
  $smarty_args = true,
  $block_methods = array() 
)

Registers object to be used in templates

Parameters
string$objectname of template object
object&$object_implthe referenced PHP object to register
null | array$allowedlist of allowed methods (empty = all)
boolean$smarty_argssmarty argument format, else traditional
null | array$block_functslist of methods that are block format

Definition at line 717 of file Smarty.class.php.

References $allowed.

Smarty::register_outputfilter (   $function)

Registers an output filter function to apply to a template output

Parameters
callback$function

Definition at line 888 of file Smarty.class.php.

References _get_filter_name().

Here is the call graph for this function:

Smarty::register_postfilter (   $function)

Registers a postfilter function to apply to a compiled template after compilation

Parameters
callback$function

Definition at line 866 of file Smarty.class.php.

References _get_filter_name().

Here is the call graph for this function:

Smarty::register_prefilter (   $function)

Registers a prefilter function to apply to a template before compiling

Parameters
callback$function

Definition at line 844 of file Smarty.class.php.

References _get_filter_name().

Here is the call graph for this function:

Smarty::register_resource (   $type,
  $functions 
)

Registers a resource to fetch a template

Parameters
string$typename of resource
array$functionsarray of functions to handle resource

Definition at line 808 of file Smarty.class.php.

References $type, and trigger_error().

Here is the call graph for this function:

Smarty::Smarty ( )

#@- The class constructor.

Definition at line 569 of file Smarty.class.php.

References $_SERVER, $GLOBALS, and assign().

Here is the call graph for this function:

Smarty::template_exists (   $tpl_file)

Checks whether requested template exists.

Parameters
string$tpl_file
Returns
boolean

Definition at line 1039 of file Smarty.class.php.

References _fetch_resource_info().

Here is the call graph for this function:

Smarty::trigger_error (   $error_msg,
  $error_type = E_USER_WARNING 
)

trigger Smarty error

Parameters
string$error_msg
integer$error_type

Definition at line 1091 of file Smarty.class.php.

References $msg.

Referenced by _fetch_resource_info(), _trigger_fatal_error(), and register_resource().

Here is the caller graph for this function:

Smarty::unregister_block (   $block)

Unregisters block function

Parameters
string$blockname of template function

Definition at line 753 of file Smarty.class.php.

Smarty::unregister_compiler_function (   $function)

Unregisters compiler function

Parameters
string$functionname of template function

Definition at line 775 of file Smarty.class.php.

Smarty::unregister_function (   $function)

Unregisters custom function

Parameters
string$functionname of template function

Definition at line 703 of file Smarty.class.php.

Smarty::unregister_modifier (   $modifier)

Unregisters modifier

Parameters
string$modifiername of template modifier

Definition at line 797 of file Smarty.class.php.

Smarty::unregister_object (   $object)

Unregisters object

Parameters
string$objectname of template object

Definition at line 730 of file Smarty.class.php.

Smarty::unregister_outputfilter (   $function)

Unregisters an outputfilter function

Parameters
callback$function

Definition at line 899 of file Smarty.class.php.

References _get_filter_name().

Here is the call graph for this function:

Smarty::unregister_postfilter (   $function)

Unregisters a postfilter function

Parameters
callback$function

Definition at line 877 of file Smarty.class.php.

References _get_filter_name().

Here is the call graph for this function:

Smarty::unregister_prefilter (   $function)

Unregisters a prefilter function

Parameters
callback$function

Definition at line 855 of file Smarty.class.php.

References _get_filter_name().

Here is the call graph for this function:

Smarty::unregister_resource (   $type)

Unregisters a resource

Parameters
string$typename of resource

Definition at line 833 of file Smarty.class.php.

References $type.

Member Data Documentation

Smarty::$_cache_include = null

Definition at line 555 of file Smarty.class.php.

Referenced by _compile_resource().

Smarty::$_cache_including = false

Definition at line 563 of file Smarty.class.php.

Referenced by fetch().

Smarty::$_cache_info = array()

Definition at line 503 of file Smarty.class.php.

Referenced by fetch().

Smarty::$_cache_serials = array()

Definition at line 548 of file Smarty.class.php.

Smarty::$_compile_id = null

Definition at line 482 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$_conf_obj = null

Definition at line 447 of file Smarty.class.php.

Smarty::$_config = array(array('vars' => array(), 'files' => array()))

Definition at line 454 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$_dir_perms = 0771

Definition at line 517 of file Smarty.class.php.

Smarty::$_file_perms = 0644

Definition at line 510 of file Smarty.class.php.

Smarty::$_foreach = array()

Definition at line 433 of file Smarty.class.php.

Smarty::$_inclusion_depth = 0

Definition at line 475 of file Smarty.class.php.

Smarty::$_plugins
Initial value:
= array(
'modifier' => array(),
'function' => array(),
'block' => array(),
'compiler' => array(),
'prefilter' => array(),
'postfilter' => array(),
'outputfilter' => array(),
'resource' => array(),
'insert' => array())

Definition at line 531 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$_reg_objects = array()

Definition at line 524 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$_sections = array()

Definition at line 426 of file Smarty.class.php.

Smarty::$_smarty_debug_id = 'SMARTY_DEBUG'

Definition at line 489 of file Smarty.class.php.

Smarty::$_smarty_debug_info = array()

Definition at line 496 of file Smarty.class.php.

Smarty::$_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'

Definition at line 461 of file Smarty.class.php.

Smarty::$_smarty_vars = null

Definition at line 419 of file Smarty.class.php.

Smarty::$_tag_stack = array()

Definition at line 440 of file Smarty.class.php.

Smarty::$_tpl_vars = array()

Definition at line 412 of file Smarty.class.php.

Referenced by _compile_source(), and get_template_vars().

Smarty::$_version = '2.6.27'

Definition at line 468 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$autoload_filters = array()

Definition at line 339 of file Smarty.class.php.

Smarty::$cache_dir = 'cache'

Definition at line 167 of file Smarty.class.php.

Smarty::$cache_handler_func = null

Definition at line 332 of file Smarty.class.php.

Smarty::$cache_lifetime = 3600

Definition at line 178 of file Smarty.class.php.

Smarty::$cache_modified_check = false

Definition at line 188 of file Smarty.class.php.

Smarty::$caching = 0

Definition at line 160 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$compile_check = true

Definition at line 141 of file Smarty.class.php.

Smarty::$compile_dir = 'templates_c'

Definition at line 82 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$compile_id = null
Smarty::$compiler_class = 'Smarty_Compiler'

Definition at line 393 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$compiler_file = 'Smarty_Compiler.class.php'

Definition at line 386 of file Smarty.class.php.

Smarty::$config_booleanize = true

This tells whether or not to automatically booleanize config file variables. If enabled, then the strings "on", "true", and "yes" are treated as boolean true, and "off", "false" and "no" are treated as boolean false.

Definition at line 355 of file Smarty.class.php.

Smarty::$config_class = 'Config_File'

Definition at line 400 of file Smarty.class.php.

Smarty::$config_dir = 'configs'

Definition at line 89 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$config_fix_newlines = true

This tells whether or not automatically fix newlines in config files. It basically converts (mac) or
(dos) to

Definition at line 369 of file Smarty.class.php.

Smarty::$config_overwrite = true

This tells if config file vars of the same name overwrite each other or not. if disabled, same name variables are accumulated in an array.

Definition at line 348 of file Smarty.class.php.

Smarty::$config_read_hidden = false

This tells whether hidden sections [.foobar] are readable from the tempalates or not. Normally you would never allow this since that is the point behind hidden sections: the application can access them, but the templates cannot.

Definition at line 363 of file Smarty.class.php.

Smarty::$debug_tpl = ''

Definition at line 120 of file Smarty.class.php.

Smarty::$debugging = false

Definition at line 105 of file Smarty.class.php.

Smarty::$debugging_ctrl = 'NONE'

Definition at line 131 of file Smarty.class.php.

Smarty::$default_modifiers = array()

Definition at line 311 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$default_resource_type = 'file'

Definition at line 325 of file Smarty.class.php.

Referenced by _parse_resource_name().

Smarty::$default_template_handler_func = ''

Definition at line 378 of file Smarty.class.php.

Smarty::$error_reporting = null

Definition at line 112 of file Smarty.class.php.

Smarty::$force_compile = false

Definition at line 149 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$left_delimiter = '{'

Definition at line 256 of file Smarty.class.php.

Referenced by _compile_source(), and Smarty_Compiler\_compile_tag().

Smarty::$php_handling = SMARTY_PHP_PASSTHRU

Definition at line 202 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$plugins_dir = array('plugins')

Definition at line 96 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$request_use_auto_globals = true

Definition at line 282 of file Smarty.class.php.

Referenced by _compile_source(), and fetch().

Smarty::$request_vars_order = 'EGPCS'

Definition at line 272 of file Smarty.class.php.

Smarty::$right_delimiter = '}'

Definition at line 263 of file Smarty.class.php.

Referenced by _compile_source(), and Smarty_Compiler\_compile_tag().

Smarty::$secure_dir = array()

Definition at line 221 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$security = false

Definition at line 212 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$security_settings
Initial value:
= array(
'PHP_HANDLING' => false,
'IF_FUNCS' => array('array', 'list',
'isset', 'empty',
'count', 'sizeof',
'in_array', 'is_array',
'true', 'false', 'null'),
'INCLUDE_ANY' => false,
'PHP_TAGS' => false,
'MODIFIER_FUNCS' => array('count'),
'ALLOW_CONSTANTS' => false,
'ALLOW_SUPER_GLOBALS' => true
)

Definition at line 229 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$template_dir = 'templates'

Definition at line 75 of file Smarty.class.php.

Referenced by _compile_source(), and _fetch_resource_info().

Smarty::$trusted_dir = array()

Definition at line 249 of file Smarty.class.php.

Referenced by _compile_source().

Smarty::$use_sub_dirs = false

Definition at line 302 of file Smarty.class.php.

Referenced by _compile_source().


The documentation for this class was generated from the following file: