Öffentliche Methoden | |
__construct (array $options=array()) | |
assign_by_ref ($tpl_var, &$value) | |
append_by_ref ($tpl_var, &$value, $merge=false) | |
clear_assign ($tpl_var) | |
register_function ($function, $function_impl, $cacheable=true, $cache_attrs=null) | |
unregister_function ($function) | |
register_object ($object, $object_impl, $allowed=array(), $smarty_args=true, $block_methods=array()) | |
unregister_object ($object) | |
register_block ($block, $block_impl, $cacheable=true, $cache_attrs=null) | |
unregister_block ($block) | |
register_compiler_function ($function, $function_impl, $cacheable=true) | |
unregister_compiler_function ($function) | |
register_modifier ($modifier, $modifier_impl) | |
unregister_modifier ($modifier) | |
register_resource ($type, $functions) | |
unregister_resource ($type) | |
register_prefilter ($function) | |
unregister_prefilter ($function) | |
register_postfilter ($function) | |
unregister_postfilter ($function) | |
register_outputfilter ($function) | |
unregister_outputfilter ($function) | |
load_filter ($type, $name) | |
clear_cache ($tpl_file=null, $cache_id=null, $compile_id=null, $exp_time=null) | |
clear_all_cache ($exp_time=null) | |
is_cached ($tpl_file, $cache_id=null, $compile_id=null) | |
clear_all_assign () | |
clear_compiled_tpl ($tpl_file=null, $compile_id=null, $exp_time=null) | |
template_exists ($tpl_file) | |
get_template_vars ($name=null) | |
get_config_vars ($name=null) | |
config_load ($file, $section=null, $scope= 'global') | |
get_registered_object ($name) | |
clear_config ($var=null) | |
trigger_error ($error_msg, $error_type=E_USER_WARNING) | |
Öffentliche Methoden geerbt von Smarty | |
__construct () | |
fetch ($template=null, $cache_id=null, $compile_id=null, $parent=null, $display=false, $merge_tpl_vars=true, $no_output_filter=false) | |
display ($template=null, $cache_id=null, $compile_id=null, $parent=null) | |
templateExists ($resource_name) | |
getGlobal ($varname=null) | |
clearAllCache ($exp_time=null, $type=null) | |
clearCache ($template_name, $cache_id=null, $compile_id=null, $exp_time=null, $type=null) | |
enableSecurity ($security_class=null) | |
disableSecurity () | |
setTemplateDir ($template_dir) | |
addTemplateDir ($template_dir, $key=null) | |
getTemplateDir ($index=null) | |
setConfigDir ($config_dir) | |
addConfigDir ($config_dir, $key=null) | |
getConfigDir ($index=null) | |
setPluginsDir ($plugins_dir) | |
addPluginsDir ($plugins_dir) | |
getPluginsDir () | |
setCompileDir ($compile_dir) | |
getCompileDir () | |
setCacheDir ($cache_dir) | |
getCacheDir () | |
setDefaultModifiers ($modifiers) | |
addDefaultModifiers ($modifiers) | |
getDefaultModifiers () | |
setAutoloadFilters ($filters, $type=null) | |
addAutoloadFilters ($filters, $type=null) | |
getAutoloadFilters ($type=null) | |
getDebugTemplate () | |
setDebugTemplate ($tpl_name) | |
createTemplate ($template, $cache_id=null, $compile_id=null, $parent=null, $do_clone=true) | |
loadPlugin ($plugin_name, $check=true) | |
compileAllTemplates ($extension= '.tpl', $force_compile=false, $time_limit=0, $max_errors=null) | |
compileAllConfig ($extension= '.conf', $force_compile=false, $time_limit=0, $max_errors=null) | |
clearCompiledTemplate ($resource_name=null, $compile_id=null, $exp_time=null) | |
getTags (Smarty_Internal_Template $template) | |
testInstall (&$errors=null) | |
setCompileCheck ($compile_check) | |
setUseSubDirs ($use_sub_dirs) | |
setCaching ($caching) | |
setCacheLifetime ($cache_lifetime) | |
setCompileId ($compile_id) | |
setCacheId ($cache_id) | |
setErrorReporting ($error_reporting) | |
setEscapeHtml ($escape_html) | |
setAutoLiteral ($auto_literal) | |
setForceCompile ($force_compile) | |
setMergeCompiledIncludes ($merge_compiled_includes) | |
setLeftDelimiter ($left_delimiter) | |
setRightDelimiter ($right_delimiter) | |
setDebugging ($debugging) | |
setConfigOverwrite ($config_overwrite) | |
setConfigBooleanize ($config_booleanize) | |
setConfigReadHidden ($config_read_hidden) | |
setCompileLocking ($compile_locking) | |
__destruct () | |
__get ($name) | |
__set ($name, $value) | |
Öffentliche Methoden geerbt von Smarty_Internal_TemplateBase | |
isCached ($template=null, $cache_id=null, $compile_id=null, $parent=null) | |
createData ($parent=null, $name=null) | |
getTemplateId ($template_name, $cache_id=null, $compile_id=null) | |
registerPlugin ($type, $tag, $callback, $cacheable=true, $cache_attr=null) | |
unregisterPlugin ($type, $tag) | |
registerResource ($type, $callback) | |
unregisterResource ($type) | |
registerCacheResource ($type, Smarty_CacheResource $callback) | |
unregisterCacheResource ($type) | |
registerObject ($object_name, $object_impl, $allowed=array(), $smarty_args=true, $block_methods=array()) | |
getRegisteredObject ($name) | |
unregisterObject ($name) | |
registerClass ($class_name, $class_impl) | |
registerDefaultPluginHandler ($callback) | |
registerDefaultTemplateHandler ($callback) | |
registerDefaultConfigHandler ($callback) | |
registerFilter ($type, $callback) | |
unregisterFilter ($type, $callback) | |
_get_filter_name ($function_name) | |
loadFilter ($type, $name) | |
unloadFilter ($type, $name) | |
__call ($name, $args) | |
Öffentliche Methoden geerbt von Smarty_Internal_Data | |
assign ($tpl_var, $value=null, $nocache=false) | |
assignGlobal ($varname, $value=null, $nocache=false) | |
assignByRef ($tpl_var, &$value, $nocache=false) | |
append ($tpl_var, $value=null, $merge=false, $nocache=false) | |
appendByRef ($tpl_var, &$value, $merge=false) | |
getTemplateVars ($varname=null, $_ptr=null, $search_parents=true) | |
clearAssign ($tpl_var) | |
clearAllAssign () | |
configLoad ($config_file, $sections=null) | |
getVariable ($variable, $_ptr=null, $search_parents=true, $error_enable=true) | |
getConfigVariable ($variable, $error_enable=true) | |
getConfigVars ($varname=null, $search_parents=true) | |
clearConfig ($varname=null) | |
getStreamVariable ($variable) | |
Weitere Geerbte Elemente | |
Öffentliche, statische Methoden geerbt von Smarty | |
static | mutingErrorHandler ($errno, $errstr, $errfile, $errline, $errcontext) |
static | muteExpectedErrors () |
static | unmuteExpectedErrors () |
Statische öffentliche Attribute geerbt von Smarty | |
static | $global_tpl_vars = array() |
static | $_previous_error_handler = null |
static | $_muted_directories = array('./templates_c/' => null, './cache/' => null) |
static | $_MBSTRING = SMARTY_MBSTRING |
static | $_CHARSET = SMARTY_RESOURCE_CHAR_SET |
static | $_DATE_FORMAT = SMARTY_RESOURCE_DATE_FORMAT |
static | $_UTF8_MODIFIER = 'u' |
static | $_IS_WINDOWS = false |
static | $_smarty_vars = array() |
Definiert in Zeile 38 der Datei SmartyBC.class.php.
__construct | ( | array | $options = array() ) |
Initialize new SmartyBC object
array | $options | options to set during initialization, e.g. array( 'forceCompile' => false ) |
Definiert in Zeile 52 der Datei SmartyBC.class.php.
append_by_ref | ( | $tpl_var, | |
& | $value, | ||
$merge = false |
|||
) |
wrapper for append_by_ref
string | $tpl_var | the template variable name |
mixed | &$value | the referenced value to append |
boolean | $merge | flag if array elements shall be merged |
Definiert in Zeile 75 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_Data\appendByRef().
assign_by_ref | ( | $tpl_var, | |
& | $value | ||
) |
wrapper for assign_by_ref
string | $tpl_var | the template variable name |
mixed | &$value | the referenced value to assign |
Definiert in Zeile 63 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_Data\assignByRef().
clear_all_assign | ( | ) |
clear all the assigned template variables.
Definiert in Zeile 347 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_Data\clearAllAssign().
clear_all_cache | ( | $exp_time = null ) |
clear the entire contents of cache (all templates)
string | $exp_time | expire time |
Definiert in Zeile 325 der Datei SmartyBC.class.php.
Benutzt Smarty\clearCache().
clear_assign | ( | $tpl_var) |
clear the given assigned template variable.
string | $tpl_var | the template variable to clear |
Definiert in Zeile 85 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_Data\clearAssign().
clear_cache | ( | $tpl_file = null , |
|
$cache_id = null , |
|||
$compile_id = null , |
|||
$exp_time = null |
|||
) |
clear cached content for the given template and cache id
string | $tpl_file | name of template file |
string | $cache_id | name of cache_id |
string | $compile_id | name of compile_id |
string | $exp_time | expiration time |
Definiert in Zeile 313 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\$cache_id, Smarty_Internal_TemplateBase\$compile_id und Smarty\clearCache().
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.
string | $tpl_file | |
string | $compile_id | |
string | $exp_time |
Definiert in Zeile 363 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\$compile_id und Smarty\clearCompiledTemplate().
clear_config | ( | $var = null ) |
clear configuration values
string | $var |
Definiert in Zeile 433 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_Data\clearConfig().
config_load | ( | $file, | |
$section = null , |
|||
$scope = 'global' |
|||
) |
load configuration values
string | $file | |
string | $section | |
string | $scope |
Definiert in Zeile 411 der Datei SmartyBC.class.php.
get_config_vars | ( | $name = null ) |
Returns an array containing config variables
string | $name |
Definiert in Zeile 399 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_Data\getConfigVars().
get_registered_object | ( | $name) |
return a reference to a registered object
string | $name |
Definiert in Zeile 423 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\getRegisteredObject().
get_template_vars | ( | $name = null ) |
Returns an array containing template variables
string | $name |
Definiert in Zeile 387 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_Data\getTemplateVars().
is_cached | ( | $tpl_file, | |
$cache_id = null , |
|||
$compile_id = null |
|||
) |
test to see if valid cache exists for this template
string | $tpl_file | name of template file |
string | $cache_id | |
string | $compile_id |
Definiert in Zeile 339 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\$cache_id, Smarty_Internal_TemplateBase\$compile_id und Smarty_Internal_TemplateBase\isCached().
load_filter | ( | $type, | |
$name | |||
) |
load a filter of specified type and name
string | $type | filter type |
string | $name | filter name |
Definiert in Zeile 298 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\loadFilter().
register_block | ( | $block, | |
$block_impl, | |||
$cacheable = true , |
|||
$cache_attrs = null |
|||
) |
Registers block function to be used in templates
string | $block | name of template block |
string | $block_impl | PHP function to register |
bool | $cacheable | |
mixed | $cache_attrs |
Definiert in Zeile 150 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerPlugin().
register_compiler_function | ( | $function, | |
$function_impl, | |||
$cacheable = true |
|||
) |
Registers compiler function
string | $function | name of template function |
string | $function_impl | name of PHP function to register |
bool | $cacheable |
Definiert in Zeile 172 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerPlugin().
register_function | ( | $function, | |
$function_impl, | |||
$cacheable = true , |
|||
$cache_attrs = null |
|||
) |
Registers custom function to be used in templates
string | $function | the name of the template function |
string | $function_impl | the name of the PHP function to register |
bool | $cacheable | |
mixed | $cache_attrs |
Definiert in Zeile 98 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerPlugin().
register_modifier | ( | $modifier, | |
$modifier_impl | |||
) |
Registers modifier to be used in templates
string | $modifier | name of template modifier |
string | $modifier_impl | name of PHP function to register |
Definiert in Zeile 193 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerPlugin().
register_object | ( | $object, | |
$object_impl, | |||
$allowed = array() , |
|||
$smarty_args = true , |
|||
$block_methods = array() |
|||
) |
Registers object to be used in templates
string | $object | name of template object |
object | $object_impl | the referenced PHP object to register |
array | $allowed | list of allowed methods (empty = all) |
boolean | $smarty_args | smarty argument format, else traditional |
array | $block_methods | list of methods that are block format |
SmartyException |
Definiert in Zeile 125 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerObject().
register_outputfilter | ( | $function) |
Registers an output filter function to apply to a template output
callable | $function |
Definiert in Zeile 277 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerFilter().
register_postfilter | ( | $function) |
Registers a postfilter function to apply to a compiled template after compilation
callable | $function |
Definiert in Zeile 256 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerFilter().
register_prefilter | ( | $function) |
Registers a prefilter function to apply to a template before compiling
callable | $function |
Definiert in Zeile 235 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerFilter().
register_resource | ( | $type, | |
$functions | |||
) |
Registers a resource to fetch a template
string | $type | name of resource |
array | $functions | array of functions to handle resource |
Definiert in Zeile 214 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\registerResource().
template_exists | ( | $tpl_file) |
Checks whether requested template exists.
string | $tpl_file |
Definiert in Zeile 375 der Datei SmartyBC.class.php.
Benutzt Smarty\templateExists().
trigger_error | ( | $error_msg, | |
$error_type = E_USER_WARNING |
|||
) |
trigger Smarty error
string | $error_msg | |
integer | $error_type |
Definiert in Zeile 444 der Datei SmartyBC.class.php.
unregister_block | ( | $block) |
Unregisters block function
string | $block | name of template function |
Definiert in Zeile 160 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterPlugin().
unregister_compiler_function | ( | $function) |
Unregisters compiler function
string | $function | name of template function |
Definiert in Zeile 182 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterPlugin().
unregister_function | ( | $function) |
Unregisters custom function
string | $function | name of template function |
Definiert in Zeile 108 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterPlugin().
unregister_modifier | ( | $modifier) |
Unregisters modifier
string | $modifier | name of template modifier |
Definiert in Zeile 203 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterPlugin().
unregister_object | ( | $object) |
Unregisters object
string | $object | name of template object |
Definiert in Zeile 137 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterObject().
unregister_outputfilter | ( | $function) |
Unregisters an outputfilter function
callable | $function |
Definiert in Zeile 287 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterFilter().
unregister_postfilter | ( | $function) |
Unregisters a postfilter function
callable | $function |
Definiert in Zeile 266 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterFilter().
unregister_prefilter | ( | $function) |
Unregisters a prefilter function
callable | $function |
Definiert in Zeile 245 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterFilter().
unregister_resource | ( | $type) |
Unregisters a resource
string | $type | name of resource |
Definiert in Zeile 224 der Datei SmartyBC.class.php.
Benutzt Smarty_Internal_TemplateBase\unregisterResource().
$_version = self::SMARTY_VERSION |
Definiert in Zeile 45 der Datei SmartyBC.class.php.