PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
Smarty Class Reference
Inheritance diagram for Smarty:
Smarty_Internal_TemplateBase Smarty_Internal_Data

Public Member Functions

 __construct ()
 #@- More...
 
 __destruct ()
 Class destructor. More...
 
 __clone ()
 <<magic>> set selfpointer on cloned object More...
 
 __get ($name)
 <<magic>> Generic getter. More...
 
 __set ($name, $value)
 <<magic>> Generic setter. More...
 
 templateExists ($resource_name)
 Check if a template resource exists. More...
 
 getGlobal ($varname=null)
 Returns a single or all global variables. More...
 
 clearAllCache ($exp_time=null, $type=null)
 Empty cache folder. More...
 
 clearCache ($template_name, $cache_id=null, $compile_id=null, $exp_time=null, $type=null)
 Empty cache for a specific template. More...
 
 enableSecurity ($security_class=null)
 Loads security class and enables security. More...
 
 disableSecurity ()
 Disable security. More...
 
 setTemplateDir ($template_dir)
 Set template directory. More...
 
 addTemplateDir ($template_dir, $key=null)
 Add template directory(s) More...
 
 getTemplateDir ($index=null)
 Get template directories. More...
 
 setConfigDir ($config_dir)
 Set config directory. More...
 
 addConfigDir ($config_dir, $key=null)
 Add config directory(s) More...
 
 getConfigDir ($index=null)
 Get config directory. More...
 
 setPluginsDir ($plugins_dir)
 Set plugins directory. More...
 
 addPluginsDir ($plugins_dir)
 Adds directory of plugin files. More...
 
 getPluginsDir ()
 Get plugin directories. More...
 
 setCompileDir ($compile_dir)
 Set compile directory. More...
 
 getCompileDir ()
 Get compiled directory. More...
 
 setCacheDir ($cache_dir)
 Set cache directory. More...
 
 getCacheDir ()
 Get cache directory. More...
 
 setDefaultModifiers ($modifiers)
 Set default modifiers. More...
 
 addDefaultModifiers ($modifiers)
 Add default modifiers. More...
 
 getDefaultModifiers ()
 Get default modifiers. More...
 
 setAutoloadFilters ($filters, $type=null)
 Set autoload filters. More...
 
 addAutoloadFilters ($filters, $type=null)
 Add autoload filters. More...
 
 getAutoloadFilters ($type=null)
 Get autoload filters. More...
 
 getDebugTemplate ()
 return name of debugging template More...
 
 setDebugTemplate ($tpl_name)
 set the debug template More...
 
 createTemplate ($template, $cache_id=null, $compile_id=null, $parent=null, $do_clone=true)
 creates a template object More...
 
 loadPlugin ($plugin_name, $check=true)
 Takes unknown classes and loads plugin files for them class name format: Smarty_PluginType_PluginName plugin filename format: plugintype.pluginname.php. More...
 
 compileAllTemplates ($extension= '.tpl', $force_compile=false, $time_limit=0, $max_errors=null)
 Compile all template files. More...
 
 compileAllConfig ($extension= '.conf', $force_compile=false, $time_limit=0, $max_errors=null)
 Compile all config files. More...
 
 clearCompiledTemplate ($resource_name=null, $compile_id=null, $exp_time=null)
 Delete compiled template file. More...
 
 getTags (Smarty_Internal_Template $template)
 Return array of tag/attributes of all tags used by an template. More...
 
 testInstall (&$errors=null)
 Run installation test. More...
 
- Public Member Functions inherited from Smarty_Internal_TemplateBase
 fetch ($template=null, $cache_id=null, $compile_id=null, $parent=null, $display=false, $merge_tpl_vars=true, $no_output_filter=false)
 fetches a rendered Smarty template More...
 
 display ($template=null, $cache_id=null, $compile_id=null, $parent=null)
 displays a Smarty template More...
 
 isCached ($template=null, $cache_id=null, $compile_id=null, $parent=null)
 test if cache is valid More...
 
 createData ($parent=null)
 creates a data object More...
 
 registerPlugin ($type, $tag, $callback, $cacheable=true, $cache_attr=null)
 Registers plugin to be used in templates. More...
 
 unregisterPlugin ($type, $tag)
 Unregister Plugin. More...
 
 registerResource ($type, $callback)
 Registers a resource to fetch a template. More...
 
 unregisterResource ($type)
 Unregisters a resource. More...
 
 registerCacheResource ($type, Smarty_CacheResource $callback)
 Registers a cache resource to cache a template's output. More...
 
 unregisterCacheResource ($type)
 Unregisters a cache resource. More...
 
 registerObject ($object_name, $object_impl, $allowed=array(), $smarty_args=true, $block_methods=array())
 Registers object to be used in templates. More...
 
 getRegisteredObject ($name)
 return a reference to a registered object More...
 
 unregisterObject ($name)
 unregister an object More...
 
 registerClass ($class_name, $class_impl)
 Registers static classes to be used in templates. More...
 
 registerDefaultPluginHandler ($callback)
 Registers a default plugin handler. More...
 
 registerDefaultTemplateHandler ($callback)
 Registers a default template handler. More...
 
 registerDefaultConfigHandler ($callback)
 Registers a default template handler. More...
 
 registerFilter ($type, $callback)
 Registers a filter function. More...
 
 unregisterFilter ($type, $callback)
 Unregisters a filter function. More...
 
 _get_filter_name ($function_name)
 Return internal filter name. More...
 
 loadFilter ($type, $name)
 load a filter of specified type and name More...
 
 unloadFilter ($type, $name)
 unload a filter of specified type and name More...
 
 __call ($name, $args)
 Handle unknown class methods. More...
 
- Public Member Functions inherited from Smarty_Internal_Data
 assign ($tpl_var, $value=null, $nocache=false)
 assigns a Smarty variable More...
 
 assignGlobal ($varname, $value=null, $nocache=false)
 assigns a global Smarty variable More...
 
 assignByRef ($tpl_var, &$value, $nocache=false)
 assigns values to template variables by reference More...
 
 append ($tpl_var, $value=null, $merge=false, $nocache=false)
 appends values to template variables More...
 
 appendByRef ($tpl_var, &$value, $merge=false)
 appends values to template variables by reference More...
 
 getTemplateVars ($varname=null, $_ptr=null, $search_parents=true)
 Returns a single or all template variables. More...
 
 clearAssign ($tpl_var)
 clear the given assigned template variable. More...
 
 clearAllAssign ()
 clear all the assigned template variables. More...
 
 configLoad ($config_file, $sections=null)
 load a config file, optionally load just selected sections More...
 
 getVariable ($variable, $_ptr=null, $search_parents=true, $error_enable=true)
 gets the object of a Smarty variable More...
 
 getConfigVariable ($variable, $error_enable=true)
 gets a config variable More...
 
 getStreamVariable ($variable)
 gets a stream variable More...
 
 getConfigVars ($varname=null, $search_parents=true)
 Returns a single or all config variables. More...
 
 clearConfig ($varname=null)
 Deassigns a single or all config variables. More...
 

Static Public Member Functions

static mutingErrorHandler ($errno, $errstr, $errfile, $errline, $errcontext)
 Error Handler to mute expected messages. More...
 
static muteExpectedErrors ()
 Enable error handler to mute expected messages. More...
 
static unmuteExpectedErrors ()
 Disable error handler muting expected messages. More...
 

Data Fields

const SMARTY_VERSION = 'Smarty-3.1.14'
 #@+ constant definitions More...
 
const SCOPE_LOCAL = 0
 define variable scopes More...
 
const SCOPE_PARENT = 1
 
const SCOPE_ROOT = 2
 
const SCOPE_GLOBAL = 3
 
const CACHING_OFF = 0
 define caching modes More...
 
const CACHING_LIFETIME_CURRENT = 1
 
const CACHING_LIFETIME_SAVED = 2
 
const CLEAR_EXPIRED = -1
 define constant for clearing cache files be saved expiration datees More...
 
const COMPILECHECK_OFF = 0
 define compile check modes More...
 
const COMPILECHECK_ON = 1
 
const COMPILECHECK_CACHEMISS = 2
 
const PHP_PASSTHRU = 0
 modes for handling of "<?php ... ?>" tags in templates. More...
 
const PHP_QUOTE = 1
 
const PHP_REMOVE = 2
 
const PHP_ALLOW = 3
 
const FILTER_POST = 'post'
 filter types More...
 
const FILTER_PRE = 'pre'
 
const FILTER_OUTPUT = 'output'
 
const FILTER_VARIABLE = 'variable'
 
const PLUGIN_FUNCTION = 'function'
 plugin types More...
 
const PLUGIN_BLOCK = 'block'
 
const PLUGIN_COMPILER = 'compiler'
 
const PLUGIN_MODIFIER = 'modifier'
 
const PLUGIN_MODIFIERCOMPILER = 'modifiercompiler'
 
 $auto_literal = true
 
 $error_unassigned = false
 
 $use_include_path = false
 
 $joined_template_dir = null
 
 $joined_config_dir = null
 
 $default_template_handler_func = null
 
 $default_config_handler_func = null
 
 $default_plugin_handler_func = null
 
 $force_compile = false
 
 $compile_check = true
 
 $use_sub_dirs = false
 
 $allow_ambiguous_resources = false
 
 $caching = false
 
 $merge_compiled_includes = false
 
 $cache_lifetime = 3600
 
 $force_cache = false
 
 $cache_id = null
 
 $compile_id = null
 
 $left_delimiter = "{"
 
 $right_delimiter = "}"
 
 $security_class = 'Smarty_Security'
 
 $security_policy = null
 
 $php_handling = self::PHP_PASSTHRU
 
 $allow_php_templates = false
 
 $direct_access_security = true
 Should compiled-templates be prevented from being called directly? More...
 
 $debugging = false
 
 $debugging_ctrl = 'NONE'
 
 $smarty_debug_id = 'SMARTY_DEBUG'
 
 $debug_tpl = null
 
 $error_reporting = null
 
 $get_used_tags = false
 
 $config_overwrite = true
 
 $config_booleanize = true
 
 $config_read_hidden = false
 
 $compile_locking = true
 
 $cache_locking = false
 
 $locking_timeout = 10
 
 $template_functions = array()
 
 $default_resource_type = 'file'
 
 $caching_type = 'file'
 
 $properties = array()
 
 $default_config_type = 'file'
 
 $template_objects = array()
 
 $cache_modified_check = false
 
 $registered_plugins = array()
 
 $plugin_search_order = array('function', 'block', 'compiler', 'class')
 
 $registered_objects = array()
 
 $registered_classes = array()
 
 $registered_filters = array()
 
 $registered_resources = array()
 
 $_resource_handlers = array()
 
 $registered_cache_resources = array()
 
 $_cacheresource_handlers = array()
 
 $autoload_filters = array()
 
 $default_modifiers = array()
 
 $escape_html = false
 
 $start_time = 0
 
 $_file_perms = 0644
 
 $_dir_perms = 0771
 
 $_tag_stack = array()
 
 $smarty
 
 $_current_file = null
 
 $_parserdebug = false
 
 $merged_templates_func = array()
 
- Data Fields inherited from Smarty_Internal_Data
 $template_class = 'Smarty_Internal_Template'
 
 $tpl_vars = array()
 
 $parent = null
 
 $config_vars = array()
 

Static Public Attributes

static $global_tpl_vars = array()
 #@- More...
 
static $_previous_error_handler = null
 error handler returned by set_error_hanlder() in Smarty::muteExpectedErrors() More...
 
static $_muted_directories = array()
 contains directories outside of SMARTY_DIR that are to be muted by muteExpectedErrors() More...
 
static $_MBSTRING = SMARTY_MBSTRING
 Flag denoting if Multibyte String functions are available. More...
 
static $_CHARSET = SMARTY_RESOURCE_CHAR_SET
 The character set to adhere to (e.g. More...
 
static $_DATE_FORMAT = SMARTY_RESOURCE_DATE_FORMAT
 The date format to be used internally (accepts date() and strftime()) More...
 
static $_UTF8_MODIFIER = 'u'
 Flag denoting if PCRE should run in UTF-8 mode. More...
 
static $_IS_WINDOWS = false
 Flag denoting if operating system is windows. More...
 
static $_smarty_vars = array()
 

Detailed Description

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

Constructor & Destructor Documentation

__construct ( )

#@-

Initialize new Smarty object

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

__destruct ( )

Class destructor.

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

Member Function Documentation

__clone ( )

<<magic>> set selfpointer on cloned object

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

__get (   $name)

<<magic>> Generic getter.

Calls the appropriate getter function. Issues an E_USER_NOTICE if no valid getter is found.

Parameters
string$nameproperty name
Returns
mixed

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

__set (   $name,
  $value 
)

<<magic>> Generic setter.

Calls the appropriate setter function. Issues an E_USER_NOTICE if no valid setter is found.

Parameters
string$nameproperty name
mixed$valueparameter passed to setter

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

addAutoloadFilters (   $filters,
  $type = null 
)

Add autoload filters.

Parameters
array$filtersfilters to load automatically
string$type"pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types
Returns
Smarty current Smarty instance for chaining

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

addConfigDir (   $config_dir,
  $key = null 
)

Add config directory(s)

Parameters
string | array$config_dirdirectory(s) of config sources
stringkey of the array element to assign the config dir to
Returns
Smarty current Smarty instance for chaining

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

addDefaultModifiers (   $modifiers)

Add default modifiers.

Parameters
array | string$modifiersmodifier or list of modifiers to add
Returns
Smarty current Smarty instance for chaining

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

addPluginsDir (   $plugins_dir)

Adds directory of plugin files.

Parameters
object$smarty
string$ |array $ plugins folder
Returns
Smarty current Smarty instance for chaining

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

addTemplateDir (   $template_dir,
  $key = null 
)

Add template directory(s)

Parameters
string | array$template_dirdirectory(s) of template sources
string$keyof the array element to assign the template dir to
Returns
Smarty current Smarty instance for chaining
Exceptions
SmartyExceptionwhen the given template directory is not valid

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

clearAllCache (   $exp_time = null,
  $type = null 
)

Empty cache folder.

Parameters
integer$exp_timeexpiration time
string$typeresource type
Returns
integer number of cache files deleted

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

clearCache (   $template_name,
  $cache_id = null,
  $compile_id = null,
  $exp_time = null,
  $type = null 
)

Empty cache for a specific template.

Parameters
string$template_nametemplate name
string$cache_idcache id
string$compile_idcompile id
integer$exp_timeexpiration time
string$typeresource type
Returns
integer number of cache files deleted

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

clearCompiledTemplate (   $resource_name = null,
  $compile_id = null,
  $exp_time = null 
)

Delete compiled template file.

Parameters
string$resource_nametemplate name
string$compile_idcompile id
integer$exp_timeexpiration time
Returns
integer number of template files deleted

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

compileAllConfig (   $extension = '.conf',
  $force_compile = false,
  $time_limit = 0,
  $max_errors = null 
)

Compile all config files.

Parameters
string$extensionfile extension
bool$force_compileforce all to recompile
int$time_limit
int$max_errors
Returns
integer number of template files recompiled

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

compileAllTemplates (   $extension = '.tpl',
  $force_compile = false,
  $time_limit = 0,
  $max_errors = null 
)

Compile all template files.

Parameters
string$extensionfile extension
bool$force_compileforce all to recompile
int$time_limit
int$max_errors
Returns
integer number of template files recompiled

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

createTemplate (   $template,
  $cache_id = null,
  $compile_id = null,
  $parent = null,
  $do_clone = true 
)

creates a template object

Parameters
string$templatethe resource handle of the template file
mixed$cache_idcache id to be used with this template
mixed$compile_idcompile id to be used with this template
object$parentnext higher level of Smarty variables
boolean$do_cloneflag is Smarty object shall be cloned
Returns
object template object

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

disableSecurity ( )

Disable security.

Returns
Smarty current Smarty instance for chaining

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

enableSecurity (   $security_class = null)

Loads security class and enables security.

Parameters
string | Smarty_Security$security_classif a string is used, it must be class-name
Returns
Smarty current Smarty instance for chaining
Exceptions
SmartyExceptionwhen an invalid class name is provided

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

getAutoloadFilters (   $type = null)

Get autoload filters.

Parameters
string$typetype of filter to get autoloads for. Defaults to all autoload filters
Returns
array array( 'type1' => array( 'filter1', 'filter2', … ) ) or array( 'filter1', 'filter2', …) if $type was specified

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

getCacheDir ( )

Get cache directory.

Returns
string path of cache directory

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

getCompileDir ( )

Get compiled directory.

Returns
string path to compiled templates

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

getConfigDir (   $index = null)

Get config directory.

Parameters
mixedindex of directory to get, null to get all
Returns
array|string configuration directory

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

getDebugTemplate ( )

return name of debugging template

Returns
string

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

getDefaultModifiers ( )

Get default modifiers.

Returns
array list of default modifiers

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

getGlobal (   $varname = null)

Returns a single or all global variables.

Parameters
object$smarty
string$varnamevariable name or null
Returns
string variable value or or array of variables

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

getPluginsDir ( )

Get plugin directories.

Returns
array list of plugin directories

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

getTags ( Smarty_Internal_Template  $template)

Return array of tag/attributes of all tags used by an template.

Parameters
object$templaetemplate object
Returns
array of tag/attributes

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

getTemplateDir (   $index = null)

Get template directories.

Parameters
mixedindex of directory to get, null to get all
Returns
array|string list of template directories, or directory of $index

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

loadPlugin (   $plugin_name,
  $check = true 
)

Takes unknown classes and loads plugin files for them class name format: Smarty_PluginType_PluginName plugin filename format: plugintype.pluginname.php.

Parameters
string$plugin_nameclass plugin name to load
bool$checkcheck if already loaded
Returns
string |boolean filepath of loaded file or false

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

static muteExpectedErrors ( )
static

Enable error handler to mute expected messages.

Returns
void

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

static mutingErrorHandler (   $errno,
  $errstr,
  $errfile,
  $errline,
  $errcontext 
)
static

Error Handler to mute expected messages.

integer $errno Error level boolean

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

setAutoloadFilters (   $filters,
  $type = null 
)

Set autoload filters.

Parameters
array$filtersfilters to load automatically
string$type"pre", "output", … specify the filter type to set. Defaults to none treating $filters' keys as the appropriate types
Returns
Smarty current Smarty instance for chaining

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

setCacheDir (   $cache_dir)

Set cache directory.

Parameters
string$cache_dirdirectory to store cached templates in
Returns
Smarty current Smarty instance for chaining

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

setCompileDir (   $compile_dir)

Set compile directory.

Parameters
string$compile_dirdirectory to store compiled templates in
Returns
Smarty current Smarty instance for chaining

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

setConfigDir (   $config_dir)

Set config directory.

Parameters
string | array$template_dirdirectory(s) of configuration sources
Returns
Smarty current Smarty instance for chaining

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

setDebugTemplate (   $tpl_name)

set the debug template

Parameters
string$tpl_name
Returns
Smarty current Smarty instance for chaining
Exceptions
SmartyExceptionif file is not readable

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

setDefaultModifiers (   $modifiers)

Set default modifiers.

Parameters
array | string$modifiersmodifier or list of modifiers to set
Returns
Smarty current Smarty instance for chaining

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

setPluginsDir (   $plugins_dir)

Set plugins directory.

Parameters
string | array$plugins_dirdirectory(s) of plugins
Returns
Smarty current Smarty instance for chaining

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

setTemplateDir (   $template_dir)

Set template directory.

Parameters
string | array$template_dirdirectory(s) of template sources
Returns
Smarty current Smarty instance for chaining

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

templateExists (   $resource_name)

Check if a template resource exists.

Parameters
string$resource_nametemplate name
Returns
boolean status

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

testInstall ( $errors = null)

Run installation test.

Parameters
array$errorsArray to write errors into, rather than outputting them
Returns
boolean true if setup is fine, false if something is wrong

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

static unmuteExpectedErrors ( )
static

Disable error handler muting expected messages.

Returns
void

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

Field Documentation

$_cacheresource_handlers = array()

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

$_CHARSET = SMARTY_RESOURCE_CHAR_SET
static

The character set to adhere to (e.g.

"UTF-8")

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

$_current_file = null

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

$_DATE_FORMAT = SMARTY_RESOURCE_DATE_FORMAT
static

The date format to be used internally (accepts date() and strftime())

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

$_dir_perms = 0771

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

$_file_perms = 0644

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

$_IS_WINDOWS = false
static

Flag denoting if operating system is windows.

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

$_MBSTRING = SMARTY_MBSTRING
static

Flag denoting if Multibyte String functions are available.

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

$_muted_directories = array()
static

contains directories outside of SMARTY_DIR that are to be muted by muteExpectedErrors()

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

$_parserdebug = false

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

$_previous_error_handler = null
static

error handler returned by set_error_hanlder() in Smarty::muteExpectedErrors()

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

$_resource_handlers = array()

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

$_smarty_vars = array()
static

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

$_tag_stack = array()

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

$_UTF8_MODIFIER = 'u'
static

Flag denoting if PCRE should run in UTF-8 mode.

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

$allow_ambiguous_resources = false

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

$allow_php_templates = false

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

$auto_literal = true

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

$autoload_filters = array()

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

$cache_id = null

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

$cache_lifetime = 3600

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

$cache_locking = false

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

$cache_modified_check = false

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

$caching = false

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

$caching_type = 'file'

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

$compile_check = true

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

$compile_id = null

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

$compile_locking = true

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

$config_booleanize = true

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

$config_overwrite = true

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

$config_read_hidden = false

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

$debug_tpl = null

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

$debugging = false

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

$debugging_ctrl = 'NONE'

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

$default_config_handler_func = null

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

$default_config_type = 'file'

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

$default_modifiers = array()

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

$default_plugin_handler_func = null

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

$default_resource_type = 'file'

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

$default_template_handler_func = null

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

$direct_access_security = true

Should compiled-templates be prevented from being called directly?

{

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

$error_reporting = null

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

$error_unassigned = false

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

$escape_html = false

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

$force_cache = false

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

$force_compile = false

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

$get_used_tags = false

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

$global_tpl_vars = array()
static

#@-

assigned global tpl vars

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

$joined_config_dir = null

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

$joined_template_dir = null

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

$left_delimiter = "{"

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

$locking_timeout = 10

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

$merge_compiled_includes = false

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

$merged_templates_func = array()

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

$php_handling = self::PHP_PASSTHRU

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

$plugin_search_order = array('function', 'block', 'compiler', 'class')

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

$properties = array()

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

$registered_cache_resources = array()

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

$registered_classes = array()

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

$registered_filters = array()

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

$registered_objects = array()

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

$registered_plugins = array()

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

$registered_resources = array()

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

$right_delimiter = "}"

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

$security_class = 'Smarty_Security'

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

$security_policy = null

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

$smarty

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

$smarty_debug_id = 'SMARTY_DEBUG'

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

$start_time = 0

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

$template_functions = array()

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

$template_objects = array()

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

$use_include_path = false

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

$use_sub_dirs = false

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

const CACHING_LIFETIME_CURRENT = 1

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

const CACHING_LIFETIME_SAVED = 2

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

const CACHING_OFF = 0

define caching modes

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

const CLEAR_EXPIRED = -1

define constant for clearing cache files be saved expiration datees

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

const COMPILECHECK_CACHEMISS = 2

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

const COMPILECHECK_OFF = 0

define compile check modes

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

const COMPILECHECK_ON = 1

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

const FILTER_OUTPUT = 'output'

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

const FILTER_POST = 'post'

filter types

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

const FILTER_PRE = 'pre'

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

const FILTER_VARIABLE = 'variable'

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

const PHP_ALLOW = 3

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

const PHP_PASSTHRU = 0

modes for handling of "<?php ... ?>" tags in templates.

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

const PHP_QUOTE = 1

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

const PHP_REMOVE = 2

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

const PLUGIN_BLOCK = 'block'

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

const PLUGIN_COMPILER = 'compiler'

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

const PLUGIN_FUNCTION = 'function'

plugin types

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

const PLUGIN_MODIFIER = 'modifier'

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

const PLUGIN_MODIFIERCOMPILER = 'modifiercompiler'

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

const SCOPE_GLOBAL = 3

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

const SCOPE_LOCAL = 0

define variable scopes

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

const SCOPE_PARENT = 1

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

const SCOPE_ROOT = 2

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

const SMARTY_VERSION = 'Smarty-3.1.14'

#@+ constant definitions

smarty version

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


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

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:43 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.