BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
Smarty Namespace Reference

Detailed Description

Smarty Autoloader

Smarty Autoloader

Author
Uwe Tews Usage: require_once '...path/Autoloader.php'; Smarty_Autoloader::register(); $smarty = new Smarty(); Note: This autoloader is not needed if you use Composer. Composer will automatically add the classes of the Smarty package to it common autoloader.

Smarty plugin to format text blocks

PluginsBlock

Smarty plugin

PluginsFunction

Smarty plugin This plugin is only for Smarty2 BC

PluginsFunction

Smarty plugin

PluginsModifier

Smarty plugin

Debug

Smarty plugin

PluginsModifierCompiler

Smarty plugin

PluginsFilter

Smarty shared plugin

PluginsShared

Smarty plugin

PluginsShared

Project: Smarty: the PHP compiling template engine File: Smarty.class.php

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA For questions, help, comments, discussion, etc., please join the Smarty mailing list. Send a blank e-mail to smart.nosp@m.y-di.nosp@m.scuss.nosp@m.ion-.nosp@m.subsc.nosp@m.ribe.nosp@m.@goog.nosp@m.legr.nosp@m.oups..nosp@m.com

2015 New Digital Group, Inc. 2015 Uwe Tews Monte Ohrt

Author
Uwe Tews
Rodney Rehm
Version
3.1.29

This is the main Smarty class

int clearAllCache(int $exp_time = null, string $type = null) int clearCache(string $template_name, string $cache_id = null, string $compile_id = null, int $exp_time = null, string $type = null) int compileAllTemplates(Smarty $smarty, string $extension = '.tpl', bool $force_compile = false, int $time_limit = 0, int $max_errors = null) int compileAllConfig(Smarty $smarty, string $extension = '.conf', bool $force_compile = false, int $time_limit = 0, int $max_errors = null)

Project: Smarty: the PHP compiling template engine File: SmartyBC.class.php SVN:

Id:

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA For questions, help, comments, discussion, etc., please join the Smarty mailing list. Send a blank e-mail to smart.nosp@m.y-di.nosp@m.scuss.nosp@m.ion-.nosp@m.subsc.nosp@m.ribe.nosp@m.@goog.nosp@m.legr.nosp@m.oups..nosp@m.com

2008 New Digital Group, Inc. Monte Ohrt

Author
Uwe Tews
Rodney Rehm

Smarty Backward Compatability Wrapper Class

Smarty Internal Plugin

Cacher

Cache Handler API

Cacher

Author
Rodney Rehm

Smarty Cache Handler Base for Key/Value Storage Implementations This class implements the functionality required to use simple key/value stores for hierarchical cache groups. key/value stores like memcache or APC do not support wildcards in keys, therefore a cache group cannot be cleared like "a|*" - which is no problem to filesystem and RDBMS implementations. This implementation is based on the concept of invalidation. While one specific cache can be identified and cleared, any range of caches cannot be identified. For this reason each level of the cache group hierarchy can have its own value in the store. These values are nothing but microtimes, telling us when a particular cache group was cleared for the last time. These keys are evaluated for every cache read to determine if the cache has been invalidated since it was created and should hence be treated as inexistent. Although deep hierarchies are possible, they are not recommended. Try to keep your cache groups as shallow as possible. Anything up 3-5 parents should be ok. So »a|b|c« is a good depth where »a|b|c|d|e|f|g|h|i|j|k« isn't. Try to join correlating cache groups: if your cache groups look somewhat like »a|b|$page|$items|$whatever« consider using »a|b|c|$page-$items-$whatever« instead.

Cacher

Author
Rodney Rehm

Smarty Plugin Data This file contains the data object

Template

Author
Uwe Tews

class for the Smarty data object The Smarty data object will hold Smarty variables in the current scope

Template

Smarty Internal Plugin CacheResource File

Cacher

Author
Uwe Tews
Rodney Rehm

This class does contain all necessary methods for the HTML cache on file system Implements the file system as resource for the HTML cache Version ussing nocache inserts.

Cacher

Smarty Internal Plugin Compile Append Compiles the {append} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Append Class

Compiler

Smarty Internal Plugin Compile Assign Compiles the {assign} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Assign Class

Compiler

Smarty Internal Plugin Compile Break Compiles the {break} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Break Class

Compiler

Smarty Internal Plugin Compile Function_Call Compiles the calls of user defined tags defined by {function}

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Function_Call Class

Compiler

Smarty Internal Plugin Compile Capture Compiles the {capture} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Capture Class

Compiler

Smarty Internal Plugin Compile Captureclose Class

Compiler

Smarty Internal Plugin Compile Config Load Compiles the {config load} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Config Load Class

Compiler

Smarty Internal Plugin Compile Continue Compiles the {continue} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Continue Class

Compiler

Smarty Internal Plugin Compile Debug Compiles the {debug} tag. It opens a window the the Smarty Debugging Console.

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Debug Class

Compiler

Smarty Internal Plugin Compile Eval Compiles the {eval} tag.

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Eval Class

Compiler

Smarty Internal Plugin Compile extend Compiles the {extends} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile extend Class

Compiler

Smarty Internal Plugin Compile For Compiles the {for} {forelse} {/for} tags

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile For Class

Compiler

Smarty Internal Plugin Compile Forelse Class

Compiler

Smarty Internal Plugin Compile Forclose Class

Compiler

Smarty Internal Plugin Compile Foreach Compiles the {foreach} {foreachelse} {/foreach} tags

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Foreach Class

Compiler

Smarty Internal Plugin Compile Foreachelse Class

Compiler

Smarty Internal Plugin Compile Foreachclose Class

Compiler

Smarty Internal Plugin Compile Function Compiles the {function} {/function} tags

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Function Class

Compiler

Smarty Internal Plugin Compile Functionclose Class

Compiler

Smarty Internal Plugin Compile If Compiles the {if} {else} {elseif} {/if} tags

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile If Class

Compiler

Smarty Internal Plugin Compile Else Class

Compiler

Smarty Internal Plugin Compile ElseIf Class

Compiler

Smarty Internal Plugin Compile Ifclose Class

Compiler

Smarty Internal Plugin Compile Include Compiles the {include} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Include Class

Compiler

Smarty Internal Plugin Compile Include PHP Compiles the {include_php} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Insert Class

Compiler

Smarty Internal Plugin Compile Insert Compiles the {insert} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Ldelim Compiles the {ldelim} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Ldelim Class

Compiler

Smarty Internal Plugin Compile Nocache Compiles the {nocache} {/nocache} tags.

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Nocache Class

Compiler

Smarty Internal Plugin Compile Nocacheclose Class

Compiler

Smarty Internal Plugin Compile Block Plugin Compiles code for the execution of block plugin

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Block Plugin Class

Compiler

Smarty Internal Plugin Compile ForeachSection Shared methods for {foreach} {section} tags

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile ForeachSection Class

Compiler

Smarty Internal Plugin Compile Function Plugin Compiles code for the execution of function plugin

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Function Plugin Class

Compiler

Smarty Internal Plugin Compile Modifier Compiles code for modifier execution

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Modifier Class

Compiler

Smarty Internal Plugin Compile Object Block Function Compiles code for registered objects as block function

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Object Block Function Class

Compiler

Smarty Internal Plugin Compile Object Function Compiles code for registered objects as function

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Object Function Class

Compiler

Smarty Internal Plugin Compile PHP Expression Compiles any tag which will output an expression or variable

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile PHP Expression Class

Compiler

Smarty Internal Plugin Compile Print Expression Compiles any tag which will output an expression or variable

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Print Expression Class

Compiler

Smarty Internal Plugin Compile Registered Block Compiles code for the execution of a registered block function

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Registered Block Class

Compiler

Smarty Internal Plugin Compile Registered Function Compiles code for the execution of a registered function

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Registered Function Class

Compiler

Smarty Internal Plugin Compile Special Smarty Variable Compiles the special $smarty variables

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile special Smarty Variable Class

Compiler

Smarty Internal Plugin Compile Rdelim Compiles the {rdelim} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Rdelim Class

Compiler

Smarty Internal Plugin Compile Section Compiles the {section} {sectionelse} {/section} tags

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Section Class

Compiler

Smarty Internal Plugin Compile Sectionelse Class

Compiler

Smarty Internal Plugin Compile Sectionclose Class

Compiler

Smarty Internal Plugin Compile Setfilter Compiles code for setfilter tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Setfilter Class

Compiler

Smarty Internal Plugin Compile Setfilterclose Class

Compiler

Smarty Internal Plugin Compile Shared Inheritance Shared methods for {extends} and {block} tags

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile Shared Inheritance Class

Compiler

Smarty Internal Plugin Compile While Compiles the {while} tag

Compiler

Author
Uwe Tews

Smarty Internal Plugin Compile While Class

Compiler

Smarty Internal Plugin Compile Whileclose Class

Compiler

Smarty Internal Plugin CompileBase

Compiler

Author
Uwe Tews

This class does extend all internal compile plugins

Compiler

Smarty Internal Plugin Config File Compiler This is the config file compiler class. It calls the lexer and parser to perform the compiling.

Config

Author
Uwe Tews

Main config file compiler class

Config

Smarty Internal Plugin Configfilelexer

This is the lexer to break the config file source into tokens

Config

Author
Uwe Tews

Smarty_Internal_Configfilelexer

This is the config file lexer. It is generated from the smarty_internal_configfilelexer.plex file

Compiler

Author
Uwe Tews

Smarty Internal Plugin Configfileparse

This is the config file parser. It is generated from the smarty_internal_configfileparser.y file

Compiler

Author
Uwe Tews

Smarty Internal Plugin Data This file contains the basic classes and methods for template and variable creation

Template

Author
Uwe Tews

Base class with template and variable methods

Template

mixed getConfigVars(string $varName = null, bool $searchParents = true) mixed getStreamVariable(string $variable) Smarty_Internal_Data clearAssign(mixed $tpl_var) Smarty_Internal_Data clearAllAssign() Smarty_Internal_Data clearConfig(string $varName = null) Smarty_Internal_Data configLoad(string $config_file, mixed $sections = null, string $scope = 'local')

Smarty Internal Plugin Debug Class to collect data for the Smarty Debugging Console

Debug

Author
Uwe Tews

Smarty Internal Plugin Debug Class

Debug

Smarty Extension Clear

$smarty->clear() method file cache file resource

PluginsInternal

Author
Uwe Tews

Smarty Extension handler

Load extensions dynamically

PluginsInternal

Author
Uwe Tews

Smarty Method AddAutoloadFilters

Smarty::addAutoloadFilters() method

PluginsInternal

Author
Uwe Tews

Smarty Method AddDefaultModifiers

Smarty::addDefaultModifiers() method

PluginsInternal

Author
Uwe Tews

Smarty Method Append

Smarty::append() method

PluginsInternal

Author
Uwe Tews

Smarty Method AppendByRef

Smarty::appendByRef() method

PluginsInternal

Author
Uwe Tews

Smarty Method AssignByRef

Smarty::assignByRef() method

PluginsInternal

Author
Uwe Tews

Smarty Method AssignGlobal

Smarty::assignGlobal() method

PluginsInternal

Author
Uwe Tews

Smarty Method ClearAllAssign

Smarty::clearAllAssign() method

PluginsInternal

Author
Uwe Tews

Smarty Method ClearAllCache

Smarty::clearAllCache() method

PluginsInternal

Author
Uwe Tews

Smarty Method ClearAssign

Smarty::clearAssign() method

PluginsInternal

Author
Uwe Tews

Smarty Method ClearCache

Smarty::clearCache() method

PluginsInternal

Author
Uwe Tews

Smarty Method ClearCompiledTemplate

Smarty::clearCompiledTemplate() method

PluginsInternal

Author
Uwe Tews

Smarty Method ClearConfig

Smarty::clearConfig() method

PluginsInternal

Author
Uwe Tews

Smarty Method CompileAllConfig

Smarty::compileAllConfig() method

PluginsInternal

Author
Uwe Tews

Smarty Method CompileAllTemplates

Smarty::compileAllTemplates() method

PluginsInternal

Author
Uwe Tews

Smarty Method ConfigLoad

Smarty::configLoad() method

PluginsInternal

Author
Uwe Tews

Smarty Method CreateData

Smarty::createData() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetAutoloadFilters

Smarty::getAutoloadFilters() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetConfigVars

Smarty::getConfigVars() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetDebugTemplate

Smarty::getDebugTemplate() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetDefaultModifiers

Smarty::getDefaultModifiers() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetRegisteredObject

Smarty::getRegisteredObject() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetStreamVariable

Smarty::getStreamVariable() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetTags

Smarty::getTags() method

PluginsInternal

Author
Uwe Tews

Smarty Method GetTemplateVars

Smarty::getTemplateVars() method

PluginsInternal

Author
Uwe Tews

Smarty Method LoadFilter

Smarty::loadFilter() method

PluginsInternal

Author
Uwe Tews

Smarty Extension Loadplugin

$smarty->loadPlugin() method

PluginsInternal

Author
Uwe Tews

Smarty Method UnloadFilter

Smarty_Internal_Template::mustCompile() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterCacheResource

Smarty::registerCacheResource() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterClass

Smarty::registerClass() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterDefaultConfigHandler

Smarty::registerDefaultConfigHandler() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterDefaultPluginHandler

Smarty::registerDefaultPluginHandler() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterDefaultTemplateHandler

Smarty::registerDefaultTemplateHandler() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterFilter

Smarty::registerFilter() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterObject

Smarty::registerObject() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterPlugin

Smarty::registerPlugin() method

PluginsInternal

Author
Uwe Tews

Smarty Method RegisterResource

Smarty::registerResource() method

PluginsInternal

Author
Uwe Tews

Smarty Method SetAutoloadFilters

Smarty::setAutoloadFilters() method

PluginsInternal

Author
Uwe Tews

Smarty Method SetDebugTemplate

Smarty::setDebugTemplate() method

PluginsInternal

Author
Uwe Tews

Smarty Method SetDefaultModifiers

Smarty::setDefaultModifiers() method

PluginsInternal

Author
Uwe Tews

Smarty Method UnloadFilter

Smarty::unloadFilter() method

PluginsInternal

Author
Uwe Tews

Smarty Method UnregisterCacheResource

Smarty::unregisterCacheResource() method

PluginsInternal

Author
Uwe Tews

Smarty Method UnregisterFilter

Smarty::unregisterFilter() method

PluginsInternal

Author
Uwe Tews

Smarty Method UnregisterObject

Smarty::unregisterObject() method

PluginsInternal

Author
Uwe Tews

Smarty Method UnregisterPlugin

Smarty::unregisterPlugin() method

PluginsInternal

Author
Uwe Tews

Smarty Method UnregisterResource

Smarty::unregisterResource() method

PluginsInternal

Author
Uwe Tews

Smarty Internal Plugin Nocache Insert Compiles the {insert} tag into the cache file

Compiler

Author
Uwe Tews

Smarty Internal Plugin Templateparser Parsetrees These are classes to build parsetrees in the template parser

Compiler

Author
Thue Kristensen
Uwe Tews

Compiler

Smarty Internal Plugin Templateparser Parse Tree These are classes to build parse trees in the template parser

Compiler

Author
Thue Kristensen
Uwe Tews

Code fragment inside a tag .

Compiler

Double quoted string inside a tag.

Compiler

Smarty Internal Plugin Templateparser Parse Tree These are classes to build parse tree in the template parser

Compiler

Author
Thue Kristensen
Uwe Tews

Raw chars as part of a double quoted string.

Compiler

A complete smarty tag.

Compiler

Template element

Compiler

Smarty Internal Plugin Templateparser Parse Tree These are classes to build parse tree in the template parser

Compiler

Author
Thue Kristensen
Uwe Tews
  • template text

Smarty Internal Plugin Resource Eval

TemplateResources

Author
Uwe Tews
Rodney Rehm

Smarty Internal Plugin Resource Extends

TemplateResources

Author
Uwe Tews
Rodney Rehm

Smarty Internal Plugin Resource Extends Implements the file system as resource for Smarty which {extend}s a chain of template files templates

TemplateResources

Smarty Internal Plugin Resource File

TemplateResources

Author
Uwe Tews
Rodney Rehm

Smarty Internal Plugin Resource File Implements the file system as resource for Smarty templates

TemplateResources

Smarty Internal Plugin Resource PHP Implements the file system as resource for PHP templates

TemplateResources

Author
Uwe Tews
Rodney Rehm

Smarty Internal Plugin Resource Registered

TemplateResources

Author
Uwe Tews
Rodney Rehm

Smarty Internal Plugin Resource Registered Implements the registered resource for Smarty template

TemplateResources

Deprecated:

Smarty Internal Plugin Resource Stream Implements the streams as resource for Smarty template

TemplateResources

Author
Uwe Tews
Rodney Rehm

Smarty Internal Plugin Resource Stream Implements the streams as resource for Smarty template

TemplateResources Smarty Internal Plugin Resource String TemplateResources Uwe Tews Rodney Rehm Inline Runtime Methods render, setSourceByUid, setupSubTemplate PluginsInternal Uwe Tews Smarty Internal Extension This file contains the Smarty template extension to create a code frame Template Uwe Tews Smarty Internal Plugin Filter Handler Smarty filter handler class PluginsInternal Uwe Tews Class for filter processing PluginsInternal Foreach Runtime Methods count PluginsInternal Uwe Tews Smarty read include path plugin PluginsInternal Monte Ohrt Smarty Internal Read Include Path Class PluginsInternal Runtime Extension Hhvm include patch for modified compiled or cached templates HHVM does not check if file was modified when including same file multiple times PluginsInternal Uwe Tews Inheritance Runtime Methods processBlock, endChild, init PluginsInternal Uwe Tews Sub Template Runtime Methods render, setupSubTemplate PluginsInternal Uwe Tews Tplfunc Runtime Methods callTemplateFunction PluginsInternal Uwe Tews Runtime Methods updateScope PluginsInternal Uwe Tews Runtime Methods decodeProperties PluginsInternal Uwe Tews Runtime Methods createLocalArrayVariable PluginsInternal Uwe Tews Smarty write file plugin PluginsInternal Monte Ohrt Smarty Internal Write File Class PluginsInternal Smarty Internal Plugin Smarty Template Compiler Base This file contains the basic classes and methods for compiling Smarty templates with lexer/parser Compiler Uwe Tews Class SmartyTemplateCompiler Compiler Smarty Internal Plugin Template This file contains the Smarty template engine Template Uwe Tews Main class with template data structures and methods Template Smarty Internal Plugin Smarty Template Base This file contains the basic shared methods for template handling Template Uwe Tews Class with shared template methods Template Main abstract compiler class Compiler Smarty Internal TestInstall Test Smarty installation Utilities Uwe Tews TestInstall class Utilities Smarty Resource Plugin TemplateResources Rodney Rehm Smarty Resource Plugin Base implementation for resource plugins TemplateResources Smarty Resource Plugin Wrapper Implementation for custom resource plugins TemplateResources Smarty Resource Plugin Base implementation for resource plugins that don't compile cache TemplateResources Smarty Resource Plugin Base implementation for resource plugins that don't use the compiler TemplateResources Smarty plugin Security Uwe Tews Created by PhpStorm. User: Uwe Tews Date: 04.12.2014 Time: 06:08 Smarty Resource Data Object Cache Data Container for Template Files TemplateResources Rodney Rehm Smarty Resource Data Object Meta Data Container for Template Files TemplateResources Rodney Rehm Smarty Config Source Plugin TemplateResources Uwe Tews Smarty Connfig Resource Data Object Meta Data Container for Template Files TemplateResources Uwe Tews Smarty Template Resource Base Object TemplateResources Rodney Rehm class for undefined variable object This class defines an object for undefined variable handling Template class for the Smarty variable object This class defines the Smarty variable object Template Smarty compiler exception class Smarty exception class