Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Search Results for "class 12 girl gang-raped by four friends at birthday party | rummy.TfItj"

  • installing.smarty.basic
    ...Smarty-v.e.r/ libs/ Smarty.class.php debug.tpl sysplugins/* (everything) plugins...
    ...four directories which are by default named templates/ , templates_c/ , configs/...
    ...plication: Smarty requires four directories which are by default named templates...
    ... Basic Installation Basic Installation basic, installation Basic Installation Pr...
  • charset
    ... require_once 'libs/Smarty.class.php'; $smarty = new Smarty(); Prev   Up  ...
    ...rs  Home  Chapter 12. Constants ...
    ...e internal charset if Multibyte String is available, ISO-8859-1 if not. Note ISO...
    ... of encodings for textual data, ISO-8859-1 (Latin1) and UTF-8 being the most pop...
  • variable.smarty.debug.id
    ... Chapter 13. Smarty Class Variables   Next $smarty_debug_id The value ...
    ...eyword to enable debugging at browser level. The default value is SMARTY_DEBUG ....
  • variable.cache.lifetime
    ... Chapter 13. Smarty Class Variables   Next $cache_lifetime This is the...
    ...ifetime, you could do this by setting $caching = Smarty::CACHING_LIFETIME_SAVED,...
    ...ength of time in seconds that a template cache is valid. Once this time has expi...
  • api.get.tags
    ... Chapter 14. Smarty Class Methods   Next Name getTags() — retur...
    ... — return tags used by template Description string  getTags ( objectÂ...
    ... return tags used by template Description string  getTags ( object  templ...
  • api.unregister.plugin
    ... Chapter 14. Smarty Class Methods   Next Name unregisterPlugin â€...
    ...ously have been registered by registerPlugin() , It uses the following parameter...
    ...?php // we don't want template designers to have access to function plugin "date...
  • variable.cache.locking
    ... Chapter 13. Smarty Class Variables   Next $cache_locking Cache lockin...
    ... Cache locking is disabled by default. To enable it set $cache_locking to TRUE ....
    ...oids concurrent cache generation. This means resource intensive pages can be gen...
  • variable.cache.dir
    ... Chapter 13. Smarty Class Variables   Next $cache_dir This is the name...
    ...emplate caches are stored. By default this is ./cache , meaning that Smarty will...
    ...f the directory where template caches are stored. By default this is ./cache , m...
  • variable.default.resource.type
    ... Chapter 13. Smarty Class Variables   Next $default_resource_type This...
    ...e_type This tells smarty what resource type to use implicitly. The default value...
  • api.template.exists
    ... Chapter 14. Smarty Class Methods   Next Name templateExists() â€...
    ... templateExists() templateExists() templateexists, templateExists() Prev   Ch...
  • api.test.install
    ... Chapter 14. Smarty Class Methods   Next Name testInstall() — c...
    ...” checks Smarty installation Description void  testInstall (); This funct...
  • api.assign.by.ref
    ... Chapter 14. Smarty Class Methods   Next Name assignByRef() — a...
    ... assignByRef() assignByRef() assignbyref, assignByRef() Prev   Chapter 14....
    ...ssign() values to the templates by reference. Technical Note With the introducti...
  • variable.escape.html
    ... Chapter 13. Smarty Class Variables   Next $escape_html Setting $escap...
    ...l template variable output by wrapping it in htmlspecialchars({$output}, ENT_QUO...
    ... TRUE will escape all template variable output by wrapping it in htmlspecialchar...
    ...h is the same as {$variable|escape:"html"} . Template designers can choose to se...
  • api.create.template
    ... Chapter 14. Smarty Class Methods   Next Name createTemplate() â€...
    ...hich later can be rendered by the display or fetch method. It uses the following...
    ... createTemplate() createTemplate() createtemplate, createTemplate() Prev   Ch...
  • language.escaping
    ...t would otherwise parse. A classic example is embedding Javascript or CSS code i...
    ...g escapement altogether is by separating your Javascript/CSS into their own file...
    ...ript or CSS code in a template. The problem arises as those languages use the { ...
  • variable.trusted.dir
    ... Chapter 13. Smarty Class Variables   Next $trusted_dir $trusted_dir i...
    ...array of all directories that are considered trusted. Trusted directories are wh...
  • variable.plugins.dir
    ... Chapter 13. Smarty Class Variables   Next $plugins_dir This is the di...
    ...ill look for the plugins that it needs. Default is plugins/ under the SMARTY_DIR...
  • variable.config.read.hidden
    ... Chapter 13. Smarty Class Variables   Next $config_read_hidden If set ...
    ...mplate loading them. FALSE by default. Prev   Up   Next $config_overwrite...
    ...iles can be read from templates. Typically you would leave this FALSE , that way...
  • api.append.by.ref
    ... Chapter 14. Smarty Class Methods   Next Name appendByRef() — a...
    ... appendByRef() appendByRef() appendbyref, appendByRef() Prev   Chapter 14....
    ...ppend() values to the templates by reference. Technical Note With the introducti...
  • variable.use.sub.dirs
    ... Chapter 13. Smarty Class Variables   Next $use_sub_dirs Smarty will c...
    ...witchable and why it's off by default. $use_sub_dirs=true on Windows can cause p...
    ...se_sub_dirs Smarty will create subdirectories under the compiled templates and c...
  • variable.config.dir
    ... Chapter 13. Smarty Class Variables   Next $config_dir This is the dir...
    ...fig files used in the templates. Default is ./configs , meaning that Smarty will...
  • variable.compile.id
    ... Chapter 13. Smarty Class Variables   Next $compile_id Persistant comp...
    ...e compiled templates apart by their $compile_id . If you have for example a pref...
    ...le identifier. As an alternative to passing the same $compile_id to each and eve...
  • caching
    ...ching ?php require('Smarty.class.php'); $smarty = new Smarty; // uses the value ...
    ...ll to display() or fetch() by saving its output to a file. If a cached version o...
    ...utput Cacheability of Template Section Cacheability of Tags Cacheability of Vari...
  • variable.default.modifiers
    ... Chapter 13. Smarty Class Variables   Next $default_modifiers This is ...
    ...HTML-escape every variable by default, use array('escape:"htmlall"') . To make a...
    ...o every variable in a template. For example, to HTML-escape every variable by de...
  • variable.compiler.class
    ... $compiler_class $compiler_class , compiler_class $compiler_class Prev   Chap...
    ...me of the compiler class that Smarty will use to compile the templates. The defa...
  • api.set.template.dir
    ... Chapter 14. Smarty Class Methods   Next Name setTemplateDir() â€...
    ... setTemplateDir() setTemplateDir() settemplatedir, setTemplateDir() Prev   Ch...
    ...  setTemplateDir ( string|array  template_dir ); Example 14.47. setTe...
  • variable.debugging.ctrl
    ... Chapter 13. Smarty Class Variables   Next $debugging_ctrl This allows...
    ...ing_ctrl This allows alternate ways to enable debugging. NONE means no alternate...
  • language.function.mailto
    ... link, such as style sheet classes Example 8.20. {mailto} example lines fo...
    ...bon copy, separate entries by a comma. bcc string No n/a Email addresses to blin...
    ...ext {mailto} {mailto} automates the creation of a mailto: anchor links and optio...
  • api.register.default.plugin.handler
    ... Chapter 14. Smarty Class Methods   Next Name registerDefaultPluginHan...
    ...der it tries to resolve it by calling the registered default plugin handler. The...
    ...the class. If during compilation Smarty encounters tag which is not defined inte...
  • api.is.cached
    ... Chapter 14. Smarty Class Methods   Next Name isCached() — retu...
    ... valid cache for this template Description bool  isCached ( string  templa...
  • variable.template.dir
    ... Chapter 13. Smarty Class Variables   Next $template_dir This is the n...
    ..., they will be found here. By default this is ./templates , meaning that Smarty ...
    ... $template_dir $template_dir , template_dir $template_dir Prev   Chapter 1...
  • smarty.constants
    ...the location of the Smarty class files. If this is not defined in your script, t...
    ... Chapter 12. Constants Chapter 12. Constants chapter, 12, constants ...
    ...R This is the full system path to the location of the Smarty class files. If thi...
  • advanced.features
    ...nce Streams Objects Static Classes Prefilters Postfilters Output Filters Securit...
    ...Security Changing settings by template Template Inheritance Streams Objects Stat...
    ...apter 17. Advanced Features Chapter 17. Advanced Features chapter, 1...
  • plugins
    ...I but instead modified the class variables $custom_funcs , $custom_mods , and ot...
    ...tions Writing Plugins Template Functions Modifiers Block Functions Compiler Func...
  • advanced.features.template.settings
    ...gs by modifying the Smarty class variables . Furthermore you can register plugin...
    ... Changing settings by template Changing settings by template changing, settings,...
    ... Changing settings by template Changing settings by template changing, settings,...
  • language.function.foreach
    ...ay(). ?php include('Smarty.class.php'); $smarty = new Smarty; $dsn = 'mysql:host...
    ...( array('phone' = '555-555-1234', 'fax' = '555-555-5678', 'cell' = '555-555-0357...
    ...rrent key of the loop item by {$item@key} (see examples below). Note The $var@pr...
    ...or looping over arrays of data. {foreach} has a simpler and cleaner syntax than ...
  • caching.custom
    ... require_once 'libs/Smarty.class.php'; $smarty = new Smarty(); $smarty- caching_...
    ...DO("mysql:dbname=test;host=127.0.0.1", "smarty", "smarty"); } catch (PDOExceptio...
    ...ty3 replaced this callback by the Smarty_CacheResource module. With a custom cac...
    ... Custom Cache Implementation Custom Cache Implementation custom, cache, implemen...
    ...d deep cache-groups like "a|b|c" is being handled for you in way that allows cle...
  • api.get.config.vars
    ... Chapter 14. Smarty Class Methods   Next Name getConfigVars() —...
    ... // get loaded config template var #foo# $myVar = $smarty- getConfigVars('foo');...
  • api.unregister.filter
    ... Chapter 14. Smarty Class Methods   Next Name unregisterFilter() â€...
    ...      string|array  callback ); Use this to dynamically unregi...
  • variable.config.booleanize
    ... Chapter 13. Smarty Class Variables   Next $config_booleanize If set t...
    ...ted to boolean values automatically. This way you can use the values in the temp...
  • api.config.load
    ... Chapter 14. Smarty Class Methods   Next Name configLoad() — lo...
    ...€” loads config file data and assigns it to the template Description voidÂ...
  • troubleshooting
    ... in /path/to/smarty/Smarty.class.php on line 1041 Fatal error: Smarty: [in index...
    ...ompile_dir is not writable by the web server. See the bottom of the installing s...
    ...rty/PHP errors Smarty can catch many errors such as missing tag attributes or ma...
  • api.functions
    ... Chapter 14. Smarty Class Methods Chapter 14. Smarty Class Methods c...
    ...to an assigned array appendByRef() — append values by reference assign() ...
    ...plugins are stored addTemplateDir() — add a directory to the list of dire...
  • variable.php.handling
    ... Chapter 13. Smarty Class Variables   Next $php_handling This tells Sm...
    ...n the templates. There are four possible settings, the default being Smarty::PHP...
    ... code embedded in the templates. There are four possible settings, the default b...
  • preface
    ... design was largely driven by these goals: clean separation of presentation from...
    ...by these goals: clean separation of presentation from application code PHP backe...
    ...anagement security for 3rd party template access feature completeness, and easil...
  • variable.locking.timeout
    ... Chapter 13. Smarty Class Variables   Next $locking_timeout This is ma...
  • variable.caching.type
    ... Chapter 13. Smarty Class Variables   Next $caching_type This property...
    ... See Custom Cache Implementation for pointers on setting up your own cache handl...
  • variable.cache.modified.check
    ... Chapter 13. Smarty Class Variables   Next $cache_modified_check If se...
  • api.get.template.vars
    ... Chapter 14. Smarty Class Methods   Next Name getTemplateVars() â€...
    ... getTemplateVars() getTemplateVars() gettemplatevars, getTemplateVars() Prev Â...
  • advanced.features.static.classes
    ... Static Classes Static Classes static, classes Static Classes Prev   Chapter...
    ... Static Classes Static Classes static, classes Static Classes Prev   Chapter...
  • api.unregister.object
    ... Chapter 14. Smarty Class Methods   Next Name unregisterObject() â€...
  • variable.caching
    ... Chapter 13. Smarty Class Variables   Next $caching This tells Smarty ...
    ...plates to the $cache_dir . By default this is set to the constant Smarty::CACHIN...
    ...che the output of the templates to the $cache_dir . By default this is set to th...
  • smarty.for.programmers
    ...ants SMARTY_DIR 13. Smarty Class Variables $allow_php_templates $auto_literal $a...
    ... Encoding Charset Encoding 12. Constants SMARTY_DIR 13. Smarty Class Variables $...
    ...to an assigned array appendByRef() — append values by reference assign() ...
    ... Variables $allow_php_templates $auto_literal $autoload_filters $cache_dir $cach...
  • variable.right.delimiter
    ... Chapter 13. Smarty Class Variables   Next $right_delimiter This is th...
    ...s the right delimiter used by the template language. Default is } . See also $le...
    ...delimiter used by the template language. Default is } . See also $left_delimiter...
  • plugins.resources
    ...s * @author Rodney Rehm */ class Smarty_Resource_Mysql extends Smarty_Resource_C...
    ... VALUES ('test.tpl', "2010-12-25 22:00:00", '{$x="hello world"}{$x}'); /pre * * ...
    ...le to access that resource by prepending its name to the template you're address...
    ...eric way of providing template sources or PHP script components to Smarty. Some ...
  • variable.debug_template
    ... Chapter 13. Smarty Class Variables   Next $debug_tpl This is the name...
    ...for the debugging console. By default, it is named debug.tpl and is located in t...
    ...is is the name of the template file used for the debugging console. By default, ...
  • api.clear.assign
    ... Chapter 14. Smarty Class Methods   Next Name clearAssign() — c...
    ... , clearConfig() , getTemplateVars() , assign() and append() Prev   Up   N...
  • variable.autoload.filters
    ... Chapter 13. Smarty Class Variables   Next $autoload_filters If there ...
    ...f there are some filters that you wish to load on every template invocation, you...
  • api.get.template.dir
    ... Chapter 14. Smarty Class Methods   Next Name getTemplateDir() â€...
    .../ get directory identified by key $template_dir = $smarty- getTemplateDir('one')...
    ... getTemplateDir() getTemplateDir() gettemplatedir, getTemplateDir() Prev   Ch...
    ...e stored Description string|array  getTemplateDir ( string  key ); Example...
  • bc
    ...Table of Contents SmartyBC class SmartyBC class TODO: SmartyBC allows: {php} and...
    ... SmartyBC - Backwards Compatibility Wrapper Chapter 19. SmartyBC - Backwa...
  • caching.groups
    ...roups ?php require('Smarty.class.php'); $smarty = new Smarty; $smarty- setCachin...
    ...do more elaborate grouping by setting up $cache_id groups. This is accomplished ...
    ...oups You can do more elaborate grouping by setting up $cache_id groups. This is ...
    ...-group with a vertical bar | in the $cache_id value. You can have as many sub-gr...
  • api.assign
    ... Chapter 14. Smarty Class Methods   Next Name assign() — assign...
    ...d {section} See also assignByRef() , getTemplateVars() , clearAssign() , append(...
    ...iables/objects to the templates Description void  assign ( mixed  var ); v...
  • variable.compile.dir
    ... Chapter 13. Smarty Class Variables   Next $compile_dir This is the na...
    ...led templates are located. By default this is ./templates_c , meaning that Smart...
    ...ectory where compiled templates are located. By default this is ./templates_c , ...
  • api.add.plugins.dir
    ... Chapter 14. Smarty Class Methods   Next Name addPluginsDir() —...
    ...Dir()  Home  addTemplateDir() ...
    ...  addPluginsDir ( string|array  plugins_dir ); Example 14.2. addPlug...
  • api.set.cache.dir
    ... Chapter 14. Smarty Class Methods   Next Name setCacheDir() — s...
    ...ry where the rendered template's output is stored Description Smarty  setCach...
  • api.fetch
    ... Chapter 14. Smarty Class Methods   Next Name fetch() — returns...
    ... — returns the template output Description string  fetch ( string  ...
  • api.compile.all.config
    ... Chapter 14. Smarty Class Methods   Next Name compileAllConfig() â€...
    ...t in seconds for the compilation process. The default is no limit. maxerror is a...
  • api.register.filter
    ... Chapter 14. Smarty Class Methods   Next Name registerFilter() â€...
    ...ly register filters to operate on a templates. It uses the following parameters:...
  • variable.debugging
    ... Chapter 13. Smarty Class Variables   Next $debugging This enables the...
    ... javascript popup window that informs you of the included templates, variables a...
  • api.display
    ... Chapter 14. Smarty Class Methods   Next Name display() — displ...
    ...— displays the template Description void  display ( string  templat...
  • api.get.compile.dir
    ... Chapter 14. Smarty Class Methods   Next Name getCompileDir() —...
    ...ectory where compiled templates are stored Description string  getCompileDir ...
  • caching.multiple.caches
    ...lay() ?php require('Smarty.class.php'); $smarty = new Smarty; $smarty- setCachin...
    ... each one. You can do this by passing a $cache_id as the second parameter to the...
    ...) or fetch() . Let's say that a call to display('index.tpl') may have several di...
  • resources.custom
    ...s * @author Rodney Rehm */ class Smarty_Resource_Mysql extends Smarty_Resource_C...
    ... VALUES ('test.tpl', "2010-12-25 22:00:00", '{$x="hello world"}{$x}'); /pre * * ...
    ...s, files, etc. You do this by writing resource plugin functions and registering ...
    ... Custom Template Resources Custom Template Resources custom, template, resources...
  • api.register.object
    ... Chapter 14. Smarty Class Methods   Next Name registerObject() â€...
    ...object for use in the templates Description void  registerObject ( string ...
  • api.get.cache.dir
    ... Chapter 14. Smarty Class Methods   Next Name getCacheDir() — r...
    ...ry where the rendered template's output is stored Description string  getCach...
  • api.unregister.resource
    ... Chapter 14. Smarty Class Methods   Next Name unregisterResource() â...
    ...egisterResource() and template resources Prev   Up   Next unregisterObject...
  • installing.smarty.extended
    ...up Smarty is to extend the class and initialize your Smarty environment. So inst...
    ...  Chapter 2. Installation   Next Extended Setup This is a continuation...
  • api.set.config.dir
    ... Chapter 14. Smarty Class Methods   Next Name setConfigDir() — ...
    ...hod calls $smarty- setTemplateDir('./templates') - setConfigDir('./config') - se...
    ...y  setConfigDir ( string|array  config_dir ); Example 14.45. setConf...
  • api.append
    ... Chapter 14. Smarty Class Methods   Next Name append() — append...
    ...raska')); ? See also appendByRef() , assign() and getTemplateVars() Prev   Up...
    ... = array(3 = 'three', 4 = 'four'); // The following line will add a second eleme...
    ...name/value pairs, or associative arrays containing the name/value pairs. If you ...
  • variable.force.compile
    ... Chapter 13. Smarty Class Variables   Next $force_compile This forces ...
    ...overrides $compile_check . By default this is FALSE . This is handy for developm...
    ...Smarty to (re)compile templates on every invocation. This setting overrides $com...
  • variable.default.config.type
    ... Chapter 13. Smarty Class Variables   Next $default_config_type This t...
    ...g_type This tells smarty what resource type to use for config files. The default...
  • api.register.resource
    ... Chapter 14. Smarty Class Methods   Next Name registerResource() â€...
    ... Smarty_Resource. See template resources for more information on how to setup a ...
  • api.load.filter
    ... Chapter 14. Smarty Class Methods   Next Name loadFilter() — lo...
    ... another prefilter named 'datefooter' $smarty- loadFilter('pre', 'datefooter'); ...
  • index
    ...ants SMARTY_DIR 13. Smarty Class Variables $allow_php_templates $auto_literal $a...
    ... Encoding Charset Encoding 12. Constants SMARTY_DIR 13. Smarty Class Variables $...
    ...to an assigned array appendByRef() — append values by reference assign() ...
    ...y - the compiling PHP template engine Monte Ohrt monte at ohrt dot com Uwe Tews ...
  • api.unregister.cacheresource
    ... Chapter 14. Smarty Class Methods   Next Name unregisterCacheResource(...
    ...tom CacheResource Implementation section. Prev   Up   Next templateExists(...
  • language.function.cycle
    ...n name=rows loop=$data} tr class="{cycle values="odd,even"}" td {$data[rows]} /t...
    ...et of values in a template by supplying a name attribute. Give each {cycle} an u...
    ...} {cycle} is used to alternate a set of values. This makes it easy to for exampl...
  • api.get.registered.object
    ... Chapter 14. Smarty Class Methods   Next Name getRegisteredObject() â...
  • api.add.config.dir
    ... Chapter 14. Smarty Class Methods   Next Name addConfigDir() — ...
    ...rray-keys $smarty- addTemplateDir(array( 'two' = './config_2', 'three' = './conf...
    ...y  addConfigDir ( string|array  config_dir ,        ...
  • variable.default.config.handler.func
    ... Chapter 13. Smarty Class Variables   Next $default_config_handler_fun...
    ... $modified config's modification time * @param Smarty $smarty Smarty instance * ...
    ...y instance * @return string|boolean path to file or boolean true if $content and...
  • advanced.features.objects
    ... object ?php // the object class My_Object { function meth1($params, $smarty_obj...
    ... choose will be determined by your needs, but use the first method whenever poss...
    ...parameter passing, set the fourth registration parameter to FALSE . The optional...
    ...apter 17. Advanced Features   Next Objects Smarty allows access to PHP ...
  • api.compile.all.templates
    ... Chapter 14. Smarty Class Methods   Next Name compileAllTemplates() â...
    ... compileAllTemplates() compileAllTemplates() compilealltemplates, compileAllTemp...
  • api.clear.compiled.tpl
    ... Chapter 14. Smarty Class Methods   Next Name clearCompiledTemplate() ...
    ...ally needed. Example 14.12. clearCompiledTemplate() ?php // clear a specif...
    ..._time seconds are cleared, by default all compiled templates are cleared regardl...
    ... clearCompiledTemplate() clearCompiledTemplate() clearcompiledtemplate, clearCom...
  • variable.default.template.handler.func
    ... Chapter 13. Smarty Class Variables   Next $default_template_handler_f...
    ... $default_template_handler_func $default_template_handler_func , default_templat...
    ...y instance * @return string|boolean path to file or boolean true if $content and...
  • api.get.plugins.dir
    ... Chapter 14. Smarty Class Methods   Next Name getPluginsDir() —...
  • variable.left.delimiter
    ... Chapter 13. Smarty Class Variables   Next $left_delimiter This is the...
    ...is the left delimiter used by the template language. Default is { . See also $ri...
    ...delimiter used by the template language. Default is { . See also $right_delimite...
  • language.function.include.php
    ...ate require_once('database.class.php'); $db = new Db(); $db- query('select url, ...
    ...urity section for details. By default, php files are only included once even if ...
    ...ICE {include_php} is deprecated from Smarty, use registered plugins to properly ...
  • variable.auto.literal
    ... Chapter 13. Smarty Class Variables   Next $auto_literal The Smarty de...
    ...ong as they are surrounded by white space. This behavior can be disabled by sett...
  • api.enable.security
    ... Chapter 14. Smarty Class Methods   Next Name enableSecurity() â€...
    ...ty() — enables template security Description string  enableSecurity ( ...
  • variable.config.overwrite
    ... Chapter 13. Smarty Class Variables   Next $config_overwrite If set to...
    ...u want to store arrays of data in config files, just list each element multiple ...
  • api.disable.security
    ... Chapter 14. Smarty Class Methods   Next Name disableSecurity() â€...
    ...y() — disables template security Description string  disableSecurity (...
  • api.add.template.dir
    ... Chapter 14. Smarty Class Methods   Next Name addTemplateDir() â€...
    ... addTemplateDir() addTemplateDir() addtemplatedir, addTemplateDir() Prev   Ch...
    ...  addTemplateDir ( string|array  template_dir ,       Â...
  • variable.compile.check
    ... Chapter 13. Smarty Class Variables   Next $compile_check Upon each in...
    ...egardless of this setting. By default this variable is set to TRUE . Once an app...
    ...mpile_check Upon each invocation of the PHP application, Smarty tests to see if ...
  • api.variables
    ... Chapter 13. Smarty Class Variables Chapter 13. Smarty Class Variabl...
    ...  Up   Next Chapter 12. Constants  Home  $auto_literal ...
    ...Note See Changing settings by template section for how to change Smarty class va...
    ...f Contents $allow_php_templates $auto_literal $autoload_filters $cache_dir $cach...
  • language.function.call
    ...tion name=menu level=0} ul class="level{$level}" {foreach $data as $entry} {if i...
    ... template function defined by the {function} tag just like a plugin function. No...
    ...ll} is used to call a template function defined by the {function} tag just like ...
  • api.clear.config
    ... Chapter 14. Smarty Class Methods   Next Name clearConfig() — c...
    ...e name is supplied, only that variable is cleared. Example 14.13. clearCon...
  • api.register.cacheresource
    ... Chapter 14. Smarty Class Methods   Next Name registerCacheResource() ...
    ...ty3 replaced this callback by the Smarty_CacheResource module. Example 14.35....
    ... See Custom Cache Implementation for more information on how to create custom Ca...
  • language.function.function
    ...vel=0} {* short-hand *} ul class="level{$level}" {foreach $data as $entry} {if i...
    ...} {function} is used to create functions within a template and call them just li...
  • variable.use.include.path
    ... Chapter 13. Smarty Class Variables   Next $use_include_path This tell...
    ... $use_include_path $use_include_path , use_include_path $use_include_path Prev ...
  • api.set.compile.dir
    ... Chapter 14. Smarty Class Methods   Next Name setCompileDir() —...
    ...ectory where compiled templates are stored Description Smarty  setCompileDir ...
  • api.clear.all.cache
    ... Chapter 14. Smarty Class Methods   Next Name clearAllCache() —...
    ...” clears the entire template cache Description void  clearAllCache ( intÂ...
  • api.create.data
    ... Chapter 14. Smarty Class Methods   Next Name createData() — cr...
    ...l which variables are seen by which templates. Example 14.17. createData()...
    ... createData() createData() createdata, createData() Prev   Chapter 14. ...
  • variable.error.reporting
    ... Chapter 13. Smarty Class Variables   Next $error_reporting When this ...
    ...es (deliberately) produced by Smarty will not be passed to other custom error ha...
    ...ror handling will ensure that warnings and notices (deliberately) produced by Sm...
  • variable.direct.access.security
    ... Chapter 13. Smarty Class Variables   Next $direct_access_security Dir...
    ...access security is enabled by default. To disable it set $direct_access_security...
    ...to compiled or cached template files. Direct access security is enabled by defau...
  • variable.force.cache
    ... Chapter 13. Smarty Class Variables   Next $force_cache This forces Sm...
    ...s Smarty to (re)cache templates on every invocation. It does not override the $c...
  • variable.merge.compiled.includes
    ... Chapter 13. Smarty Class Variables   Next $merge_compiled_includes By...
    ...t $merge_compiled_includes By setting $merge_compiled_includes to TRUE Smarty wi...
    ...ll merge the compiled template code of subtemplates into the compiled code of th...
  • api.register.plugin
    ... Chapter 14. Smarty Class Methods   Next Name registerPlugin() â€...
    ... Â Â  mixed  cache_attrs ); This method registers functions or methods d...
    ...o strip slashes. ?php {$var|ss} ? See also unregisterPlugin() , plugin functions...
  • api.register.class
    ... registerClass() registerClass() registerclass, registerClass() Prev   Chapte...
    ...ong as it's not prohibited by security *} {Bar::$property} {* Foo translates to ...
    ... class for use in the templates Description void  registerClass ( string  ...
  • api.clear.cache
    ... Chapter 14. Smarty Class Methods   Next Name clearCache() — cl...
    ...can clear a specific cache by supplying the cache_id as the second parameter. Yo...
    ...nformation. As an optional fourth parameter, you can supply a minimum age in sec...
    ... cache for a specific template Description void  clearCache ( string  temp...
  • api.clear.all.assign
    ... Chapter 14. Smarty Class Methods   Next Name clearAllAssign() â€...
    ...ev   Up   Next assignByRef()  Home  clearAllCache() ...
    ... print_r( $smarty- getTemplateVars() ); // clear all assigned variables $smarty-...
  • api.set.plugins.dir
    ... Chapter 14. Smarty Class Methods   Next Name setPluginsDir() —...
    ...hod calls $smarty- setTemplateDir('./templates') - setPluginsDir('./plugins') - ...
    ...  setPluginsDir ( string|array  plugins_dir ); Example 14.46. setPlu...
  • api.mute.expected.errors
    ... Chapter 14. Smarty Class Methods   Next Name Smarty::muteExpectedErro...
    ...ces deliberately generated by Smarty Description string  muteExpectedErrors (...
    ...arnings and notices deliberately generated by Smarty Description string  mute...
  • api.get.config.dir
    ... Chapter 14. Smarty Class Methods   Next Name getConfigDir() — ...
    .../ get directory identified by key $config_dir = $smarty- getConfigDir('one'); va...
    ...e stored Description string|array  getConfigDir ( string  key ); ExampleÂ...
  • variable.compile.locking
    ... Chapter 13. Smarty Class Variables   Next $compile_locking Compile lo...
    ...Compile locking is enabled by default. To disable it set $compile_locking to FAL...
    ...ng avoids concurrent compilation of the same template. Compile locking is enable...
  • variable.cache.id
    ... Chapter 13. Smarty Class Variables   Next $cache_id Persistent cache_...
    ...id identifier. As an alternative to passing the same $cache_id to each and every...