-
api.get.tags
...ter 14. Smarty Class Methods  Next Name getTags() — return tags...
...ags() — return tags used by template Description string getTags ( obj...
...= $smarty- createTemplate('index.tpl'); // get tags $tags = $smarty- getTags($tp...
-
api.template.exists
...ter 14. Smarty Class Methods  Next Name templateExists() — chec...
... string template ); It can accept either a path to the template on the files...
...plateExists() This example uses $_GET['page'] to {include} a content template. I...
...t can accept either a path to the template on the filesystem or a resource strin...
...php // set the filename eg index.inc.tpl $mid_template = $_GET['page'].'.inc.tpl...
-
language.syntax.variables
...ence object properties and methods. Config file variables are an exception to th...
...ith the $dollar sign. They can contain numbers, letters and underscores, much li...
...tax (note: embedded {} are used to address ambiguities): {$foo.a.b.c} = $foo['a'...
...variables are an exception to the $dollar syntax and are instead referenced with...
...ou can reference arrays by index numerically or non-numerically. Also reference ...
...e a good idea to move the bits that do not deal explicitly with presentation to ...
-
api.assign.by.ref
...ter 14. Smarty Class Methods  Next Name assignByRef() — assign ...
... mixed var ); This is used to assign() values to the templates by reference...
...ed var ); This is used to assign() values to the templates by reference. Tec...
...ul if you want a PHP array index value to be affected by its reassignment from a...
...ex value to be affected by its reassignment from a template. Assigned object pro...
-
api.create.template
...ter 14. Smarty Class Methods  Next Name createTemplate() — retu...
...emplate object which later can be rendered by the display or fetch method. It us...
...isplay or fetch method. It uses the following parameters: template must be a val...
...ce instead of passing this to each call to this function. It is used in the even...
...= $smarty- createTemplate('index.tpl'); // assign variable to template scope $tp...
...reate template object with its private variable scope $tpl = $smarty- createTemp...
-
api.append.by.ref
...ter 14. Smarty Class Methods  Next Name appendByRef() — append ...
... bool merge ); This is used to append() values to the templates by reference...
... merge ); This is used to append() values to the templates by reference. Tec...
...ul if you want a PHP array index value to be affected by its reassignment from a...
...ex value to be affected by its reassignment from a template. Assigned object pro...
-
api.is.cached
...ter 14. Smarty Class Methods  Next Name isCached() — returns tr...
...section for more info. You can also pass a $cache_id as an optional second param...
... persistent $compile_id is used if its set. If you do not want to pass a $cache_...
...y works if $caching is set to one of Smarty::CACHING_LIFETIME_CURRENT or Smarty:...
...T); if(!$smarty- isCached('index.tpl')) { // do database calls, assign vars here...
...ent $compile_id is used if its set. If you do not want to pass a $cache_id but w...
-
api.fetch
...ter 14. Smarty Class Methods  Next Name fetch() — returns the t...
...onal second parameter, you can pass a $cache id , see the caching section for mo...
...ning up as a member of our user group. Click on the link below to login with you...
...in the event that you want to compile different versions of the same template, s...
... $output = $smarty- fetch('index.tpl', $cache_id); // do something with $output ...
-
api.display
...ter 14. Smarty Class Methods  Next Name display() — displays th...
...onal second parameter, you can pass a $cache_id , see the caching section for mo...
... template into a variable, use fetch() . Supply a valid template resource type a...
...he contents of a template. To return the contents of a template into a variable,...
...ist if(!$smarty- isCached('index.tpl')) { // dummy up some data $address = '245 ...
-
api.register.resource
...ter 14. Smarty Class Methods  Next Name registerResource() — dy...
...ce resource_handler ); Use this to dynamically register a Resource plugin wi...
...source_handler ); Use this to dynamically register a Resource plugin with Smarty...
...marty- display('c:/path/to/index.tpl'); Note Prior to Smarty 3.1 registerResourc...
-
index
..._sub_dirs 14. Smarty Class Methods addConfigDir() — add a directory to th...
...m Uwe Tews uwe dot tews at googlemail dot com Copyright © 2001-2011 New Digit...
...template_dir $trusted_dir $use_include_path $use_sub_dirs 14. Smarty Class Metho...
...ng_format strip strip_tags to_charset truncate unescape upper wordwrap 6. Combin...
...P Associative arrays Array indexes Objects Variable scopes Variables loaded from...
...igning a template variable its default value 21.3. Passing the title variable to...
-
advanced.features.objects
...re that all properties and methods accessed from the template are for presentati...
...re, as a registered object can be restricted to certain methods or properties. H...
...ects to the template, then use access them via syntax similar to custom function...
...jects Smarty allows access to PHP objects through the templates. Note When you a...
...$myobj); $smarty- display('index.tpl'); ? And here's how to access your objects ...
-
api.clear.compiled.tpl
...ter 14. Smarty Class Methods  Next Name clearCompiledTemplate() â€...
...s function is for advanced use only, not normally needed. Example 14.12. c...
... clear entire compile directory $smarty- clearCompiledTemplate(); ? See also cle...
...ty- clearCompiledTemplate('index.tpl'); // clear entire compile directory $smart...
-
resources
...nged. If the file resource cannot find the requested template, the $default_temp...
...h the include_path unless $use_include_path is activated Templates from $templat...
...ir Templates from any directory Windows Filepaths String Template Resources Stre...
...dir ?php $smarty- display('index.tpl'); $smarty- display('file:index.tpl'); // s...
-
api.create.data
...ter 14. Smarty Class Methods  Next Name createData() — creates ...
...late object. These objects can be chained. Templates can access variables assign...
...old assigned variables. It uses the following parameters: parent is an optional ...
...parameter. It is an uplink to the main Smarty object, a another user-created dat...
...= $smarty- createTemplate('index.tpl',$data); // display the template $tpl- disp...
...// create data object with its private variable scope $data = $smarty- createDat...
-
api.clear.cache
...ter 14. Smarty Class Methods  Next Name clearCache() — clears t...
...caches for a template, you can clear a specific cache by supplying the cache_id ...
...r. You can group templates together so they can be removed as a group, see the c...
...plate $smarty- clearCache('index.tpl'); // clear the cache for a particular cach...
-
installing.smarty.basic
...cally, if your application can find the Smarty.class.php file, you do not need t...
...gins/* (everything) Smarty uses a PHP constant named SMARTY_DIR which is the ful...
...are in the /libs/ sub directory of the distribution. These are .php files that y...
...com/ guestbook/ templates/ index.tpl templates_c/ configs/ cache/ htdocs/ index....
...arty will figure it out on its own. Therefore, if Smarty.class.php is not in you...
-
api.unregister.plugin
...ter 14. Smarty Class Methods  Next Name unregisterPlugin — dyna...
...d by registerPlugin() , It uses the following parameters: type defines the type ...
...'t want template designers to have access to function plugin "date_now" $smarty-...
-
language.function.append
... Next {append} {append} is used for creating or appending template variable arra...
...lacing application logic into the presentation that may be better handled in PHP...
...a The value being assigned index string No n/a The index for the new array eleme...
-
variable.default.resource.type
...arty what resource type to use implicitly. The default value is file , meaning t...
... smarty what resource type to use implicitly. The default value is file , meanin...
...ing that $smarty- display('index.tpl') and $smarty- display('file:index.tpl') ar...
-
language.variables.smarty
...eserved {$smarty} variable can be used to access several environment and request...
... {$smarty} variable can be used to access several environment and request variab...
...arty} variable can be used to access several environment and request variables. ...
...ET) http://www.example.com/index.php?page=foo *} {$smarty.get.page} {* display t...
-
api.test.install
...ter 14. Smarty Class Methods  Next Name testInstall() — checks ...
...of the Smarty installation can be accessed. It does output a corresponding proto...
... output a corresponding protocoll. Example 14.52. testInstall() ?php requi...
-
smarty.for.designers
...ng_format strip strip_tags to_charset truncate unescape upper wordwrap 6. Combin...
...P Associative arrays Array indexes Objects Variable scopes Variables loaded from...
-
language.variable.scopes
...Template() . These objects can be chained. A template sees all the variables of ...
...scopes You have the choice to assign variables to the scope of the main Smarty o...
...= $smarty- createTemplate('index.tpl'); $tpl- assign('bar','bar-template'); // a...
... sees all the variables of its own object and all variables assigned to the obje...
-
language.escaping
...iles and use standard HTML methods to access them. This will also take advantage...
...white space. This behavior can be disabled by setting the Smarty class variable ...
... arises as those languages use the { and } characters which are also the default...
...esirable or even necessary to have Smarty ignore sections it would otherwise par...
-
variable.use.sub.dirs
...ter 14. Smarty Class Methods ...
...icient, so use them if you can. Theoretically you get much better perfomance on ...
... $use_sub_dirs $use_sub_dirs , use_sub_dirs $use_sub_dirs Prev  Chapter 1...
...Smarty will create subdirectories under the compiled templates and cache directo...
-
caching
...rating the output. Caching can speed things up tremendously, especially template...
... Implementation Caching is used to speed up a call to display() or fetch() by sa...
...Cacheability of Plugins Custom Cache Implementation Caching is used to speed up ...
...URRENT); $smarty- display('index.tpl'); ? With caching enabled, the function cal...
...lay() or fetch() by saving its output to a file. If a cached version of the call...
-
api.set.template.dir
...ter 14. Smarty Class Methods  Next Name setTemplateDir() — set ...
...ir() — set the directories where templates are stored Description Smarty...
-
variable.debugging.ctrl
...g. NONE means no alternate methods are allowed. URL means when the keyword SMART...
...This allows alternate ways to enable debugging. NONE means no alternate methods ...
-
api.register.default.plugin.handler
...ter 14. Smarty Class Methods  Next Name registerDefaultPluginHandler()...
...ets called if the compiler can not find a definition for a tag otherwise. It use...
...on for a tag otherwise. It uses the following parameters: callback defines the P...
... $object being a reference to an object and $method being a string containing th...
-
language.builtin.functions
...r maximum performance. You cannot create your own custom functions with the same...
... be better handled in PHP. Use at your own discretion. The following attributes ...
...ration @first @last @show @total {break} {continue} {function} {if},{elseif},{el...
...} {foreach},{foreachelse} @index @iteration @first @last @show @total {break} {c...
-
advanced.features
...ity is enabled, no private methods, functions or properties of static classes or...
...are considered trusted and can be used from within template. To disable access t...
...sidered trusted and can be used from within template. To disable access to all P...
...s eg via ftp, and you want to reduce the risk of system security compromises thr...
-
language.function.html.table
...string No empty Text to be used for the caption element of the table table_attr ...
...v  Chapter 8. Custom Functions  Next {html_table} {html_table} is ...
...dd"') ); $smarty- display('index.tpl'); ? The variables assigned from php could ...
-
advanced.features.template.settings
...ariables . Furthermore you can register plugins, filters etc. with Smarty functi...
...tions . Modifications done to the Smarty object will be global for all templates...
...= $smarty- createTemplate('index.tpl); $tpl- cache_lifetime = 600; //or $tpl- se...
...only for that template and its included subtemplates. Example 17.4. changi...
-
language.function.foreach
...an the {section} loop, and can also loop over associative arrays. {foreach $arra...
...{foreachelse} {foreach} is used for looping over arrays of data. {foreach} has a...
...ibutes. This syntax is new to Smarty 3, however the Smarty 2.x syntax {foreach f...
... {foreach} properties are @index , @iteration , @first , @last , @show , @total ...
-
caching.custom
...sed caching mechanism, you can specify a custom cache implementation that will b...
...mplementation that will be used to read, write and clear cached files. Note In S...
... Custom Cache Implementation Custom Cache Implementation custom, cache, implemen...
...L, * PRIMARY KEY (`id`), * INDEX(`name`), * INDEX(`cache_id`), * INDEX(`compile_...
...* fetch cached content and its modification time from data source * * @param str...
-
api.get.config.vars
...ter 14. Smarty Class Methods  Next Name getConfigVars() — retur...
-
api.unregister.filter
...ter 14. Smarty Class Methods  Next Name unregisterFilter() — dy...
...fines the PHP callback. it can be either: A string containing the function name ...
...ring|array callback ); Use this to dynamically unregister filters. It uses t...
...y callback ); Use this to dynamically unregister filters. It uses the follow...
-
api.config.load
...ter 14. Smarty Class Methods  Next Name configLoad() — loads co...
...g file data and assigns it to the template Description void configLoad ( str...
-
troubleshooting
...s Smarty/PHP errors Smarty can catch many errors such as missing tag attributes ...
... will see an error similar to the following: Example 20.1. Smarty errors W...
...rrors Warning: Smarty: [in index.tpl line 4]: syntax error: unknown tag - '%blah...
...P script, NOT the template itself. Usually you can look at the template and spot...
-
api.functions
...ter 14. Smarty Class Methods Chapter 14. Smarty Class Methods chapte...
...ags() — return tags used by template getTemplateDir() — return the...
...gDir() — add a directory to the list of directories where config files ar...
-
preface
...ions on what type of logic can be injected into a template. Smarty insulates the...
...gramming code, and instead use simple tags to indicate where application content...
...d designers quick and easy to maintain syntax easy to understand, no PHP knowled...
... for application code, but quickly degenerates when mixed with HTML. Smarty's si...
... important? Two major benefits: SYNTAX: Templates typically consist of semantic ...
-
api.get.template.vars
...ter 14. Smarty Class Methods  Next Name getTemplateVars() — ret...
-
api.unregister.object
...ter 14. Smarty Class Methods  Next Name unregisterObject() — dy...
-
advanced.features.outputfilters
...() or fetch() , its output can be sent through one or more output filters. This ...
...ffers from postfilters because postfilters operate on compiled templates before ...
...ates before they are saved to the disk, whereas output filters operate on the te...
...email"); $smarty- display("index.tpl'); // now any occurrence of an email addres...
...via display() or fetch() , its output can be sent through one or more output fil...
-
smarty.for.programmers
..._sub_dirs 14. Smarty Class Methods addConfigDir() — add a directory to th...
...template_dir $trusted_dir $use_include_path $use_sub_dirs 14. Smarty Class Metho...
...es $allow_php_templates $auto_literal $autoload_filters $cache_dir $cache_id $ca...
-
language.modifier.upper
...rs  Next upper This is used to uppercase a variable. This is equivalent to t...
... Next upper This is used to uppercase a variable. This is equivalent to the PH...
..., "If Strike isn't Settled Quickly it may Last a While."); ? Where template is: ...
-
plugins.resources
...bles which the implementor can access via $_template- smarty- getTemplateVars() ...
...based on the Custom API to use * MySQL as the storage resource for Smarty's temp...
...s or PHP script components to Smarty. Some examples of resources: databases, LDA...
...pt $smarty- display("mysql:index.tpl"); ? And from within Smarty template: {incl...
...hat resource by prepending its name to the template you're addressing: foobarxyz...
-
api.clear.assign
...ter 14. Smarty Class Methods  Next Name clearAssign() — clears ...
...gn ( mixed var ); This can be a single value, or an array of values. Example...
-
language.modifier.strip
...p blocks of template text, use the built-in {strip} function. Example 5.19.Â...
...d string. Note If you want to strip blocks of template text, use the built-in {s...
... one."); $smarty- display('index.tpl'); ? Where template is: {$articleTitle} {$a...
-
api.get.template.dir
...ter 14. Smarty Class Methods  Next Name getTemplateDir() — retu...
...) — return the directory where templates are stored Description string|ar...
-
caching.cacheable
...r section of your template can easily excluded from caching by using the {nocach...
...Note Be sure any variables used within a non-cached section are also assigned fr...
...offers several options how to exclude sections of your output from caching. Gene...
...); if (!$smarty- isCached('index.tpl')) { // fetch $obj from db and assign... $s...
-
caching.groups
... Next Cache Groups You can do more elaborate grouping by setting up $cache_i...
...grouping should not be confused with your template directory heirarchy, the cach...
...f cache groups like a directory hierarchy. For instance, a cache group of 'a|b|c...
...structure like themes/blue/index.tpl and you want to be able to clear all the ca...
-
api.assign
...ter 14. Smarty Class Methods  Next Name assign() — assign varia...
... bool nocache ); You can explicitly pass name/value pairs, or associative ...
... assign variables/objects to the templates Description void assign ( mixed...
-
api.add.plugins.dir
...ter 14. Smarty Class Methods  Next Name addPluginsDir() — add a...
...sDir() — add a directory to the list of directories where plugins are sto...
-
language.variables
...ithin. Variables in Smarty can be either displayed directly or used as arguments...
...ther displayed directly or used as arguments for functions , attributes and modi...
...ditional expressions, etc. To print a variable, simply enclose it in the delimit...
...P Associative arrays Array indexes Objects Variable scopes Variables loaded from...
-
advanced.features.postfilters
...are compiled . Postfilters can be either registered or loaded from the plugins d...
...aded from the plugins directory by using the loadFilter() function or by setting...
...mment'); $smarty- display('index.tpl'); ? The postfilter above will make the com...
-
api.set.cache.dir
...ter 14. Smarty Class Methods  Next Name setCacheDir() — set the...
...ir() — set the directory where the rendered template's output is stored D...
-
api.compile.all.config
...ter 14. Smarty Class Methods  Next Name compileAllConfig() — co...
...the $config_dir folder. It uses the following parameters: extension is an option...
...mit is an optional integer to set a runtime limit in seconds for the compilation...
-
api.register.filter
...ter 14. Smarty Class Methods  Next Name registerFilter() — dyna...
...fines the PHP callback. it can be either: A string containing the function name ...
... mixed callback ); Use this to dynamically register filters to operate o...
...d callback ); Use this to dynamically register filters to operate on a templ...
-
api.get.compile.dir
...ter 14. Smarty Class Methods  Next Name getCompileDir() — retur...
... — returns the directory where compiled templates are stored Description ...
-
language.function.assign
... to current scope tree You can assign a variable to root of the current root tre...
... Next {assign} {assign} is used for assigning template variables during the exec...
...lacing application logic into the presentation that may be better handled in PHP...
...ole_page = $smarty- fetch('index.tpl'); // this will output 'smarty' as the temp...
-
caching.multiple.caches
...ltiple Caches Per Page You can have multiple cache files for a single call to di...
...s passed in the URL and is used as the $cache_id . Technical Note Be very cautio...
...he files for a single call to display() or fetch() . Let's say that a call to di...
...ay that a call to display('index.tpl') may have several different output content...
-
resources.custom
...tom Template Resources You can retrieve templates using whatever possible source...
...based on the Custom API to use * MySQL as the storage resource for Smarty's temp...
... Custom Template Resources Custom Template Resources custom, template, resources...
...pt $smarty- display("mysql:index.tpl"); ? And from within Smarty template: {incl...
.../** * Fetch a template and its modification time from database * * @param string...
-
api.register.object
...ter 14. Smarty Class Methods  Next Name registerObject() — regi...
...” register an object for use in the templates Description void registerObj...
...ou register/assign objects to templates, be sure that all properties and methods...
-
plugins.compiler.functions
...';\n? "; } ? This function can be called from the template as: {* this function ...
... of the template. They are useful for injecting PHP code or time-sensitive stati...
...sensitive static content into the template. If there is both a compiler function...
...hing like this: ?php echo 'index.tpl compiled at 2002-02-20 20:02'; ? See also r...
-
api.get.cache.dir
...ter 14. Smarty Class Methods  Next Name getCacheDir() — return ...
...) — return the directory where the rendered template's output is stored D...
-
api.unregister.resource
...ter 14. Smarty Class Methods  Next Name unregisterResource() — ...
-
installing.smarty.extended
...ng the same vars, etc., we can do that in one place. Lets create a new directory...
...re you set this up too, or use absolute file paths. Example 2.10. /php/inc...
...slightly more flexible way to setup Smarty is to extend the class and initialize...
...; } } ? Now lets alter the index.php file to use setup.php : Example 2.11.Â...
-
api.set.config.dir
...ter 14. Smarty Class Methods  Next Name setConfigDir() — set th...
...ir() — set the directories where config files are stored Description Smar...
-
api.append
...ter 14. Smarty Class Methods  Next Name append() — append an el...
... and then appended to. You can explicitly pass name/value pairs, or associative ...
...— append an element to an assigned array Description void append ( mi...
... you merge two numerically indexed arrays, they may overwrite each other or resu...
-
tips.componentized.templates
...ing the data up front? You can do this by writing a custom plugin for fetching t...
...y, programming templates into your applications goes as follows: First, you accu...
...sign'], $ticker_info); } ? index.tpl {load_ticker symbol='SMARTY' assign='ticker...
-
api.load.filter
...ter 14. Smarty Class Methods  Next Name loadFilter() — load a f...
... of the filter to load and can be one of the following: pre , post or output . T...
...ies the type of the filter to load and can be one of the following: pre , post o...
-
api.unregister.cacheresource
...ter 14. Smarty Class Methods  Next Name unregisterCacheResource() â...
...CacheResource() and the Custom CacheResource Implementation section. Prev  U...
-
api.get.registered.object
...ter 14. Smarty Class Methods  Next Name getRegisteredObject() —...
... object_name ); This is useful from within a custom function when you need di...
...€” returns a reference to a registered object Description array getRegis...
-
api.add.config.dir
...ter 14. Smarty Class Methods  Next Name addConfigDir() — add a ...
...gDir() — add a directory to the list of directories where config files ar...
-
api.compile.all.templates
...ter 14. Smarty Class Methods  Next Name compileAllTemplates() —...
...e $template_dir folder. It uses the following parameters: extension is an option...
...mit is an optional integer to set a runtime limit in seconds for the compilation...
-
language.function.include
...ar to {assign} . Variables can be passed to included templates as attributes . A...
...nclude} {include} tags are used for including other templates in the current tem...
...t of {include} is assigned to, instead of being displayed. Similar to {assign} ....
...dule.tpl"} {* wont work as its single quotes ie no variable substitution *} {inc...
...ed template will be cached independent of the global cahing setting. {include 's...
-
api.get.plugins.dir
...ter 14. Smarty Class Methods  Next Name getPluginsDir() — retur...
...) — return the directory where plugins are stored Description array g...
-
api.enable.security
...ter 14. Smarty Class Methods  Next Name enableSecurity() — enab...
... checking on templates. It uses the following parameters: securityclass is an op...
...eters. For the details how to setup a security policy see the Security section. ...
-
api.disable.security
...ter 14. Smarty Class Methods  Next Name disableSecurity() — dis...
-
language.function.section
...g. Note The {foreach} loop can do everything a {section} loop can do, and has a ...
... unlike {foreach} which is used to loop over a single associative array . Every ...
...ke {foreach} which is used to loop over a single associative array . Every {sect...
... looping over sequentially indexed arrays of data , unlike {foreach} which is us...
...able. A {section} also has its own variables that handle {section} properties. T...
-
api.add.template.dir
...ter 14. Smarty Class Methods  Next Name addTemplateDir() — add ...
...eDir() — add a directory to the list of directories where templates are s...
-
api.variables
...orresponding setter/getter methods. Note All class variables have magic setter/g...
...marty class variables. You can access them directly, or use the corresponding se...
...template_dir $trusted_dir $use_include_path $use_sub_dirs These are all of the a...
...ts $allow_php_templates $auto_literal $autoload_filters $cache_dir $cache_id $ca...
...ormat, unlike the variable itself. So for example, you can set and get the $smar...
-
api.clear.config
...ter 14. Smarty Class Methods  Next Name clearConfig() — clears ...
-
api.register.cacheresource
...ter 14. Smarty Class Methods  Next Name registerCacheResource() â€...
...ce resource_handler ); Use this to dynamically register a CacheResource plug...
...source_handler ); Use this to dynamically register a CacheResource plugin with S...
-
api.set.compile.dir
...ter 14. Smarty Class Methods  Next Name setCompileDir() — set t...
...ir() — set the directory where compiled templates are stored Description ...
-
api.clear.all.cache
...ter 14. Smarty Class Methods  Next Name clearAllCache() — clear...
...an optional parameter, you can supply a minimum age in seconds the cache files m...
-
api.register.plugin
...ter 14. Smarty Class Methods  Next Name registerPlugin() — dyna...
...fines the PHP callback. it can be either: A string containing the function name ...
... your script as plugin. It uses the following parameters: type defines the type ...
... $object being a reference to an object and $method being a string containing th...
-
api.register.class
...ter 14. Smarty Class Methods  Next Name registerClass() — regis...
...” register a class for use in the templates Description void registerCla...
..._impl ); Smarty allows you to access static classes from templates as long as th...
-
api.clear.all.assign
...ter 14. Smarty Class Methods  Next Name clearAllAssign() — clea...
-
api.set.plugins.dir
...ter 14. Smarty Class Methods  Next Name setPluginsDir() — set t...
...ir() — set the directories where plugins are stored Description SmartyÂ...
-
api.mute.expected.errors
...ter 14. Smarty Class Methods  Next Name Smarty::muteExpectedErrors() ...
...tedErrors() registers a custom error handler using set_error_handler() . The err...
-
api.get.config.dir
...ter 14. Smarty Class Methods  Next Name getConfigDir() — return...
...) — return the directory where config files are stored Description string...
-
advanced.features.prefilters
...templates, etc. Prefilters can be either registered or loaded from the plugins d...
...eprocessing your templates to remove unwanted comments, keeping an eye on what p...
...ments'); $smarty- display('index.tpl'); ? See also registerFilter() , postfilter...