Öffentliche Methoden | |
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) | |
Datenfelder | |
$cache_id = null | |
$compile_id = null | |
$caching = false | |
$cache_lifetime = 3600 | |
Datenfelder geerbt von Smarty_Internal_Data | |
$template_class = 'Smarty_Internal_Template' | |
$tpl_vars = array() | |
$parent = null | |
$config_vars = array() | |
Private Methoden | |
replaceCamelcase ($match) | |
Definiert in Zeile 17 der Datei smarty_internal_templatebase.php.
__call | ( | $name, | |
$args | |||
) |
Handle unknown class methods
string | $name | unknown method-name |
array | $args | argument array |
SmartyException |
Definiert in Zeile 509 der Datei smarty_internal_templatebase.php.
_get_filter_name | ( | $function_name) |
Return internal filter name
callback | $function_name |
Definiert in Zeile 431 der Datei smarty_internal_templatebase.php.
Wird benutzt von registerFilter() und unregisterFilter().
createData | ( | $parent = null , |
|
$name = null |
|||
) |
creates a data object
object | $parent | next higher level of Smarty variables |
string | $name | optional data block name |
Definiert in Zeile 84 der Datei smarty_internal_templatebase.php.
Benutzt Smarty_Internal_Data\$parent und Smarty_Internal_Debug\register_data().
getRegisteredObject | ( | $name) |
return a reference to a registered object
string | $name | object name |
SmartyException | if no such object is found |
Definiert in Zeile 282 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\get_registered_object().
getTemplateId | ( | $template_name, | |
$cache_id = null , |
|||
$compile_id = null |
|||
) |
Get unique template id
string | $template_name | |
null | mixed | $cache_id | |
null | mixed | $compile_id |
Definiert in Zeile 102 der Datei smarty_internal_templatebase.php.
Benutzt $cache_id, $compile_id und Smarty_Resource\getUniqueTemplateName().
Wird benutzt von Smarty\createTemplate() und Smarty_Internal_Template\setupSubTemplate().
isCached | ( | $template = null , |
|
$cache_id = null , |
|||
$compile_id = null , |
|||
$parent = null |
|||
) |
test if cache is valid
string | object | $template | the resource handle of the template file or template object |
mixed | $cache_id | cache id to be used with this template |
mixed | $compile_id | compile id to be used with this template |
object | $parent | next higher level of Smarty variables |
Definiert in Zeile 56 der Datei smarty_internal_templatebase.php.
Benutzt $cache_id, $compile_id und Smarty_Internal_Data\$parent.
Wird benutzt von Smarty_Template_Cached\cacheModifiedCheck() und SmartyBC\is_cached().
loadFilter | ( | $type, | |
$name | |||
) |
load a filter of specified type and name
string | $type | filter type |
string | $name | filter name |
SmartyException | if filter could not be loaded |
Definiert in Zeile 451 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\load_filter().
registerCacheResource | ( | $type, | |
Smarty_CacheResource | $callback | ||
) |
Registers a cache resource to cache a template's output
string | $type | name of cache resource type |
Smarty_CacheResource | $callback | instance of Smarty_CacheResource to handle output caching |
Definiert in Zeile 209 der Datei smarty_internal_templatebase.php.
registerClass | ( | $class_name, | |
$class_impl | |||
) |
Registers static classes to be used in templates
$class_name | ||
string | $class_impl | the referenced PHP class to register |
SmartyException |
Definiert in Zeile 323 der Datei smarty_internal_templatebase.php.
registerDefaultConfigHandler | ( | $callback) |
Registers a default template handler
callable | $callback | class/method name |
SmartyException | if $callback is not callable |
Definiert in Zeile 381 der Datei smarty_internal_templatebase.php.
Benutzt Smarty_Internal_Extension_DefaultTemplateHandler\registerDefaultConfigHandler().
registerDefaultPluginHandler | ( | $callback) |
Registers a default plugin handler
callable | $callback | class/method name |
SmartyException | if $callback is not callable |
Definiert in Zeile 345 der Datei smarty_internal_templatebase.php.
registerDefaultTemplateHandler | ( | $callback) |
Registers a default template handler
callable | $callback | class/method name |
SmartyException | if $callback is not callable |
Definiert in Zeile 366 der Datei smarty_internal_templatebase.php.
Benutzt Smarty_Internal_Extension_DefaultTemplateHandler\registerDefaultTemplateHandler().
registerFilter | ( | $type, | |
$callback | |||
) |
Registers a filter function
string | $type | filter type |
callback | $callback |
Definiert in Zeile 396 der Datei smarty_internal_templatebase.php.
Benutzt _get_filter_name().
Wird benutzt von SmartyBC\register_outputfilter(), SmartyBC\register_postfilter() und SmartyBC\register_prefilter().
registerObject | ( | $object_name, | |
$object_impl, | |||
$allowed = array() , |
|||
$smarty_args = true , |
|||
$block_methods = array() |
|||
) |
Registers object to be used in templates
$object_name | ||
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 block-methods |
SmartyException |
Definiert in Zeile 248 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\register_object().
registerPlugin | ( | $type, | |
$tag, | |||
$callback, | |||
$cacheable = true , |
|||
$cache_attr = null |
|||
) |
Registers plugin to be used in templates
string | $type | plugin type |
string | $tag | name of template tag |
callback | $callback | PHP callback to register |
boolean | $cacheable | if true (default) this fuction is cachable |
array | $cache_attr | caching attributes if any |
SmartyException | when the plugin tag is invalid |
Definiert in Zeile 131 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\register_block(), SmartyBC\register_compiler_function(), SmartyBC\register_function() und SmartyBC\register_modifier().
registerResource | ( | $type, | |
$callback | |||
) |
Registers a resource to fetch a template
string | $type | name of resource type |
Smarty_Resource | array | $callback | or instance of Smarty_Resource, or array of callbacks to handle resource (deprecated) |
Definiert in Zeile 174 der Datei smarty_internal_templatebase.php.
Wird benutzt von Smarty_Resource\load() und SmartyBC\register_resource().
|
private |
preg_replace callback to convert camelcase getter/setter to underscore property names
string | $match | match string |
Definiert in Zeile 496 der Datei smarty_internal_templatebase.php.
unloadFilter | ( | $type, | |
$name | |||
) |
unload a filter of specified type and name
string | $type | filter type |
string | $name | filter name |
Definiert in Zeile 478 der Datei smarty_internal_templatebase.php.
unregisterCacheResource | ( | $type) |
Unregisters a cache resource
string | $type | name of cache resource type |
Definiert in Zeile 225 der Datei smarty_internal_templatebase.php.
unregisterFilter | ( | $type, | |
$callback | |||
) |
Unregisters a filter function
string | $type | filter type |
callback | $callback |
Definiert in Zeile 413 der Datei smarty_internal_templatebase.php.
Benutzt _get_filter_name().
Wird benutzt von SmartyBC\unregister_outputfilter(), SmartyBC\unregister_postfilter() und SmartyBC\unregister_prefilter().
unregisterObject | ( | $name) |
unregister an object
string | $name | object name |
Definiert in Zeile 303 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\unregister_object().
unregisterPlugin | ( | $type, | |
$tag | |||
) |
Unregister Plugin
string | $type | of plugin |
string | $tag | name of plugin |
Definiert in Zeile 154 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\unregister_block(), SmartyBC\unregister_compiler_function(), SmartyBC\unregister_function() und SmartyBC\unregister_modifier().
unregisterResource | ( | $type) |
Unregisters a resource
string | $type | name of resource type |
Definiert in Zeile 190 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\unregister_resource().
$cache_id = null |
Definiert in Zeile 25 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\clear_cache(), Smarty\clearCache(), Smarty\createTemplate(), Smarty\display(), Smarty\fetch(), Smarty_Internal_Template\getInlineSubTemplate(), Smarty_Internal_Template\getSubTemplate(), getTemplateId(), SmartyBC\is_cached(), isCached(), Smarty\setCacheId() und Smarty_Internal_Template\setupSubTemplate().
$cache_lifetime = 3600 |
Definiert in Zeile 44 der Datei smarty_internal_templatebase.php.
Wird benutzt von Smarty_Internal_Template\getInlineSubTemplate(), Smarty_Internal_Template\getSubTemplate(), Smarty\setCacheLifetime() und Smarty_Internal_Template\setupSubTemplate().
$caching = false |
Definiert in Zeile 38 der Datei smarty_internal_templatebase.php.
Wird benutzt von Smarty\fetch(), Smarty_Internal_Template\getInlineSubTemplate(), Smarty_Internal_Template\getSubTemplate(), Smarty\setCaching() und Smarty_Internal_Template\setupSubTemplate().
$compile_id = null |
Definiert in Zeile 32 der Datei smarty_internal_templatebase.php.
Wird benutzt von SmartyBC\clear_cache(), SmartyBC\clear_compiled_tpl(), Smarty\clearCache(), Smarty\clearCompiledTemplate(), Smarty\createTemplate(), Smarty\display(), Smarty\fetch(), Smarty_Internal_Template\getInlineSubTemplate(), Smarty_Internal_Template\getSubTemplate(), getTemplateId(), SmartyBC\is_cached(), isCached(), Smarty\setCompileId() und Smarty_Internal_Template\setupSubTemplate().