code
stringlengths
1
2.01M
language
stringclasses
1 value
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {html_table} function plugin * * Type: function<br> * Name: html_table<br> * Date: Feb 17, 2003<br> * Purpose: make an html table from an array of data<br> * Params: * <pre> * - loop - array to ...
PHP
<?php /** * Smarty shared plugin * * @package Smarty * @subpackage PluginsShared */ /** * convert characters to their decimal unicode equivalents * * @link http://www.ibm.com/developerworks/library/os-php-unicode/index.html#listing3 for inspiration * @param string $string characters to calculate unicode of ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty strip_tags modifier plugin * * Type: modifier<br> * Name: strip_tags<br> * Purpose: strip html tags from text * * @link http://www.smarty.net/manual/en/language.modifier.strip.tags.ph...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty string_format modifier plugin * * Type: modifier<br> * Name: string_format<br> * Purpose: format strings via sprintf * * @link http://www.smarty.net/manual/en/language.modifier.string...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty default modifier plugin * * Type: modifier<br> * Name: default<br> * Purpose: designate default value for empty variables * * @link http://www.smarty.net/manual/en/language.modifier.d...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsShared */ /** * evaluate compiler parameter * * @param array $params parameter array as given to the compiler function * @param integer $index array index of the parameter to convert * @param mixed $default value to be returned if the ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {html_checkboxes} function plugin * * File: function.html_checkboxes.php<br> * Type: function<br> * Name: html_checkboxes<br> * Date: 24.Feb.2003<br> * Purpose: Prints out a list of checkb...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {cycle} function plugin * * Type: function<br> * Name: cycle<br> * Date: May 3, 2002<br> * Purpose: cycle through given values<br> * Params: * <pre> * - name - name of cycle (optional) * - value...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty unescape modifier plugin * * Type: modifier<br> * Name: unescape<br> * Purpose: unescape html entities * * @author Rodney Rehm * @param array $params parameters * @return string w...
PHP
<?php /** * Smarty shared plugin * * @package Smarty * @subpackage PluginsShared */ if(!function_exists('smarty_mb_wordwrap')) { /** * Wrap a string to a given number of characters * * @link http://php.net/manual/en/function.wordwrap.php for similarity * @param string $str the string t...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty from_charset modifier plugin * * Type: modifier<br> * Name: from_charset<br> * Purpose: convert character encoding from $charset to internal encoding * * @author Rodney Rehm * @para...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty count_paragraphs modifier plugin * * Type: modifier<br> * Name: count_paragraphs<br> * Purpose: count the number of paragraphs in a text * * @link http://www.smarty.net/manual/en/lang...
PHP
<?php /** * Smarty plugin * @package Smarty * @subpackage PluginsModifier */ /** * Smarty spacify modifier plugin * * Type: modifier<br> * Name: spacify<br> * Purpose: add spaces between characters in a string * * @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {html_radios} function plugin * * File: function.html_radios.php<br> * Type: function<br> * Name: html_radios<br> * Date: 24.Feb.2003<br> * Purpose: Prints out a list of radio input type...
PHP
<?php /** * Smarty plugin to format text blocks * * @package Smarty * @subpackage PluginsBlock */ /** * Smarty {textformat}{/textformat} block plugin * * Type: block function<br> * Name: textformat<br> * Purpose: format text a certain way with preset styles * or custom wrap/indent setting...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty strip modifier plugin * * Type: modifier<br> * Name: strip<br> * Purpose: Replace all repeated spaces, newlines, tabs * with a single space or supplied replacement string.<...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty capitalize modifier plugin * * Type: modifier<br> * Name: capitalize<br> * Purpose: capitalize words in the string * * {@internal {$string|capitalize:true:true} is the fastest option for MBString enabled ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage Debug */ /** * Smarty debug_print_var modifier plugin * * Type: modifier<br> * Name: debug_print_var<br> * Purpose: formats variable contents for display in the console * * @author Monte Ohrt <monte at ohrt dot com> * @param array|obj...
PHP
<?php function smarty_function_module($params) { if(isset($params['name'])) { $name=$params['name']; $ret=''; $ret.=' <div id="'.$name.'"> '; // inclure JS si ya if(file_exists(DIR_MODULES.$name.'/'.$name.'.js')) { $ret.=' <script type="text/javascript" src="'.WWW...
PHP
<?php /** * Smarty plugin * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty indent modifier plugin * * Type: modifier<br> * Name: indent<br> * Purpose: indent lines of text * * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty onli...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {fetch} plugin * * Type: function<br> * Name: fetch<br> * Purpose: fetch file, web or ftp data and display results * * @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch} * (Sma...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * @ignore */ require_once( SMARTY_PLUGINS_DIR .'shared.literal_compiler_param.php' ); /** * Smarty escape modifier plugin * * Type: modifier<br> * Name: escape<br> * Purpose: escape string...
PHP
<?php /** * Smarty shared plugin * * @package Smarty * @subpackage PluginsShared */ /** * Function: smarty_make_timestamp<br> * Purpose: used by other smarty functions to make a timestamp from a string. * * @author Monte Ohrt <monte at ohrt dot com> * @param DateTime|int|string $string date object, times...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * @ignore */ require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); /** * @ignore */ require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); /** * Smarty {html_select_date} plugin * * Type: func...
PHP
<?php /** * Smarty shared plugin * * @package Smarty * @subpackage PluginsShared */ if (version_compare(PHP_VERSION, '5.2.3', '>=')) { /** * escape_special_chars common function * * Function: smarty_function_escape_special_chars<br> * Purpose: used by other smarty functions to escape ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {html_options} function plugin * * Type: function<br> * Name: html_options<br> * Purpose: Prints the list of <option> tags generated from * the passed parameters<br> * Params: * <pre> * - name...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty wordwrap modifier plugin * * Type: modifier<br> * Name: wordwrap<br> * Purpose: wrap a string of text at a given length * * @link http://smarty.php.net/manual/en/language.modifier.w...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty cat modifier plugin * * Type: modifier<br> * Name: cat<br> * Date: Feb 24, 2003<br> * Purpose: catenate a value to a variable<br> * Input: string to catenate<br> * Example: ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {html_image} function plugin * * Type: function<br> * Name: html_image<br> * Date: Feb 24, 2003<br> * Purpose: format HTML tags for the image<br> * Examples: {html_image file="/images/masthead.gif"}<b...
PHP
<?php /** * Smarty plugin * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {counter} function plugin * * Type: function<br> * Name: counter<br> * Purpose: print out a counter value * * @author Monte Ohrt <monte at ohrt dot com> * @link http://www.smarty.net/manual/en/language.functi...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty date_format modifier plugin * * Type: modifier<br> * Name: date_format<br> * Purpose: format datestamps via strftime<br> * Input:<br> * - string: input date string * - format: strftime ...
PHP
<?php /** * Smarty plugin * @package Smarty * @subpackage PluginsModifier */ /** * Smarty replace modifier plugin * * Type: modifier<br> * Name: replace<br> * Purpose: simple search/replace * * @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual) * @...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty count_sentences modifier plugin * * Type: modifier<br> * Name: count_sentences * Purpose: count the number of sentences in a text * * @link http://www.smarty.net/manual/en/language.mo...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty count_characters modifier plugin * * Type: modifier<br> * Name: count_characteres<br> * Purpose: count the number of characters in a text * * @link http://www.smarty.net/manual/en/lan...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty truncate modifier plugin * * Type: modifier<br> * Name: truncate<br> * Purpose: Truncate a string to a certain length if necessary, * optionally splitting in the middle of a word, and * ...
PHP
<?php /** * Smarty shared plugin * * @package Smarty * @subpackage PluginsShared */ if (!function_exists('smarty_mb_str_replace')) { /** * Multibyte string replace * * @param string $search the string to be searched * @param string $replace the replacement string * @param string $sub...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty escape modifier plugin * * Type: modifier<br> * Name: escape<br> * Purpose: escape string for output * * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty...
PHP
<?php /** * Smarty plugin * * This plugin is only for Smarty2 BC * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {math} function plugin * * Type: function<br> * Name: math<br> * Purpose: handle math computations in template * * @link http://www.smarty.net/manual/en/language.functi...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifier */ /** * Smarty regex_replace modifier plugin * * Type: modifier<br> * Name: regex_replace<br> * Purpose: regular expression search/replace * * @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php * ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFilter */ /** * Smarty trimwhitespace outputfilter plugin * * Trim unnecessary whitespace from HTML markup. * * @author Rodney Rehm * @param string $source input string * @param Smarty_Internal_Template $smarty Smarty ob...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFilter */ /** * Smarty htmlspecialchars variablefilter plugin * * @param string $source input string * @param Smarty_Internal_Template $smarty Smarty object * @return string filtered output */ function smarty_variablefilter...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * @ignore */ require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); /** * @ignore */ require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); /** * Smarty {html_select_time} function plugin * * Type: ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {mailto} function plugin * * Type: function<br> * Name: mailto<br> * Date: May 21, 2002 * Purpose: automate mailto address link creation, and optionally encode them.<br> * Params: * <pre> * - address ...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsModifierCompiler */ /** * Smarty noprint modifier plugin * * Type: modifier<br> * Name: noprint<br> * Purpose: return an empty string * * @author Uwe Tews * @param array $params parameters * @return string with...
PHP
<?php /** * Project: Smarty: the PHP compiling template engine * File: Smarty.class.php * SVN: $Id: Smarty.class.php 4551 2012-02-06 20:45:10Z rodneyrehm $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License a...
PHP
<?php /** * Smarty Internal Plugin Compile Config Load * * Compiles the {config load} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Config Load Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Config_Load extends ...
PHP
<?php /** * Smarty Internal Plugin Compile Section * * Compiles the {section} {sectionelse} {/section} tags * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Section Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Secti...
PHP
<?php /** * Smarty Internal Plugin Smarty Template Compiler Base * * This file contains the basic classes and methodes for compiling Smarty templates with lexer/parser * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * @ignore */ include ("smarty_internal_parsetree.php"); /** * Class Sm...
PHP
<?php /** * Smarty Internal Plugin Resource File * * @package Smarty * @subpackage TemplateResources * @author Uwe Tews * @author Rodney Rehm */ /** * Smarty Internal Plugin Resource File * * Implements the file system as resource for Smarty templates * * @package Smarty * @subpackage TemplateResources *...
PHP
<?php /** * Smarty Internal Plugin Compile Function_Call * * Compiles the calls of user defined tags defined by {function} * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Function_Call Class * * @package Smarty * @subpackage Compiler */ class Smarty_In...
PHP
<?php /** * Smarty read include path plugin * * @package Smarty * @subpackage PluginsInternal * @author Monte Ohrt */ /** * Smarty Internal Read Include Path Class * * @package Smarty * @subpackage PluginsInternal */ class Smarty_Internal_Get_Include_Path { /** * Return full file...
PHP
<?php /** * Smarty Internal Plugin Resource String * * @package Smarty * @subpackage TemplateResources * @author Uwe Tews * @author Rodney Rehm */ /** * Smarty Internal Plugin Resource String * * Implements the strings as resource for Smarty template * * {@internal unlike eval-resources the compiled state ...
PHP
<?php /** * Smarty Internal Plugin * * @package Smarty * @subpackage Cacher */ /** * Cache Handler API * * @package Smarty * @subpackage Cacher * @author Rodney Rehm */ abstract class Smarty_CacheResource_Custom extends Smarty_CacheResource { /** * fetch cached content and its modification time fr...
PHP
<?php /** * Smarty Internal Plugin Compile Special Smarty Variable * * Compiles the special $smarty variables * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile special Smarty Variable Class * * @package Smarty * @subpackage Compiler */ class Smarty_Inter...
PHP
<?php /** * Smarty Resource Plugin * * @package Smarty * @subpackage TemplateResources * @author Rodney Rehm */ /** * Smarty Resource Plugin * * Base implementation for resource plugins * * @package Smarty * @subpackage TemplateResources */ abstract class Smarty_Resource { /** * cache for Smarty_...
PHP
<?php /** * Smarty Internal Plugin Resource PHP * * Implements the file system as resource for PHP templates * * @package Smarty * @subpackage TemplateResources * @author Uwe Tews * @author Rodney Rehm */ class Smarty_Internal_Resource_PHP extends Smarty_Resource_Uncompiled { /** * container for shor...
PHP
<?php /** * Smarty Internal Plugin Compile Assign * * Compiles the {assign} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Assign Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Assign extends Smarty_Internal_Comp...
PHP
<?php /** * Smarty Internal Plugin Compile Modifier * * Compiles code for modifier execution * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Modifier Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_P...
PHP
<?php /** * Smarty Internal Plugin Compile Registered Function * * Compiles code for the execution of a registered function * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Registered Function Class * * @package Smarty * @subpackage Compil...
PHP
<?php /** * Smarty Internal Plugin Configfilelexer * * This is the lexer to break the config file source into tokens * @package Smarty * @subpackage Config * @author Uwe Tews */ /** * Smarty Internal Plugin Configfilelexer */ class Smarty_Internal_Configfilelexer { public $data; public $counter; public $to...
PHP
<?php /** * Smarty Internal Plugin Templateparser Parsetrees * * These are classes to build parsetrees in the template parser * * @package Smarty * @subpackage Compiler * @author Thue Kristensen * @author Uwe Tews */ /** * @package Smarty * @subpackage Compiler * @ignore */ abstract class...
PHP
<?php /** * Project: Smarty: the PHP compiling template engine * File: smarty_internal_utility.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...
PHP
<?php /** * Smarty Internal Plugin Compile Break * * Compiles the {break} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Break Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Break extends Smarty_In...
PHP
<?php /** * Smarty Internal Plugin Config * * @package Smarty * @subpackage Config * @author Uwe Tews */ /** * Smarty Internal Plugin Config * * Main class for config variables * * @package Smarty * @subpackage Config * * @property Smarty_Config_Source $source * @property Smarty_Config_Compiled $compi...
PHP
<?php /** * Smarty Internal Plugin Resource Registered * * @package Smarty * @subpackage TemplateResources * @author Uwe Tews * @author Rodney Rehm */ /** * Smarty Internal Plugin Resource Registered * * Implements the registered resource for Smarty template * * @package Smarty * @subpackage TemplateResou...
PHP
<?php /** * Smarty Internal Plugin Smarty Template Base * * This file contains the basic shared methodes for template handling * * @package Smarty * @subpackage Template * @author Uwe Tews */ /** * Class with shared template methodes * * @package Smarty * @subpackage Template */ abstract...
PHP
<?php /** * Smarty Internal Plugin Templatelexer * * This is the lexer to break the template source into tokens * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Templatelexer */ class Smarty_Internal_Templatelexer { public $data; public $counter; public $token; ...
PHP
<?php /** * Smarty Internal Plugin * * @package Smarty * @subpackage Cacher */ /** * Cache Handler API * * @package Smarty * @subpackage Cacher * @author Rodney Rehm */ abstract class Smarty_CacheResource { /** * cache for Smarty_CacheResource instances * @var array */ public static $resources = ar...
PHP
<?php /** * Smarty Resource Plugin * * @package Smarty * @subpackage TemplateResources * @author Rodney Rehm */ /** * Smarty Resource Plugin * * Base implementation for resource plugins that don't use the compiler * * @package Smarty * @subpackage TemplateResources */ abstract class Smarty_Resource_Uncomp...
PHP
<?php /** * Smarty Internal Plugin Compile Function Plugin * * Compiles code for the execution of function plugin * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Function Plugin Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_...
PHP
<?php /** * Smarty Internal Plugin Debug * * Class to collect data for the Smarty Debugging Consol * * @package Smarty * @subpackage Debug * @author Uwe Tews */ /** * Smarty Internal Plugin Debug Class * * @package Smarty * @subpackage Debug */ class Smarty_Internal_Debug extends Smarty_Internal_Data { ...
PHP
<?php /** * Smarty Internal Plugin Configfileparser * * This is the config file parser. * It is generated from the internal.configfileparser.y file * @package Smarty * @subpackage Compiler * @author Uwe Tews */ class TPC_yyToken implements ArrayAccess { public $string = ''; public $metadata = array(); fun...
PHP
<?php /** * Smarty Internal Plugin Data * * This file contains the basic classes and methodes for template and variable creation * * @package Smarty * @subpackage Template * @author Uwe Tews */ /** * Base class with template and variable methodes * * @package Smarty * @subpackage Template */ class Smarty_...
PHP
<?php /** * Smarty Internal Plugin Compile Capture * * Compiles the {capture} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Capture Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Capture extends Smarty_Internal_...
PHP
<?php /** * Smarty Internal Plugin * * @package Smarty * @subpackage Cacher */ /** * 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...
PHP
<?php /** * Smarty Internal Plugin CacheResource File * * @package Smarty * @subpackage Cacher * @author Uwe Tews * @author 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...
PHP
<?php /** * Smarty Internal Plugin Compile Print Expression * * Compiles any tag which will output an expression or variable * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Print Expression Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_C...
PHP
<?php /** * Smarty Internal Plugin Compile Ldelim * * Compiles the {ldelim} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Ldelim Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_Comp...
PHP
<?php /** * Smarty Internal Plugin Resource Stream * * Implements the streams as resource for Smarty template * * @package Smarty * @subpackage TemplateResources * @author Uwe Tews * @author Rodney Rehm */ /** * Smarty Internal Plugin Resource Stream * * Implements the streams as resource for Smarty templa...
PHP
<?php /** * Smarty Internal Plugin Compile Eval * * Compiles the {eval} tag. * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Eval Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Eval extends Smarty_Internal_CompileBase...
PHP
<?php /** * Smarty Internal Plugin Compile Debug * * Compiles the {debug} tag. * It opens a window the the Smarty Debugging Console. * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Debug Class * * @package Smarty * @subpackage Compiler */ class Smarty...
PHP
<?php /** * Smarty Internal Plugin Smarty Template Compiler Base * * This file contains the basic classes and methodes for compiling Smarty templates with lexer/parser * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Main abstract compiler class * * @package Smarty * @s...
PHP
<?php /** * Smarty Internal Plugin Function Call Handler * * @package Smarty * @subpackage PluginsInternal * @author Uwe Tews */ /** * This class does call function defined with the {function} tag * * @package Smarty * @subpackage PluginsInternal */ class Smarty_Internal_Function_Call_Handler...
PHP
<?php /** * Smarty Internal Plugin Template * * This file contains the Smarty template engine * * @package Smarty * @subpackage Template * @author Uwe Tews */ /** * Main class with template data structures and methods * * @package Smarty * @subpackage Template * * @property Smarty_Template_Source $sour...
PHP
<?php /** * Smarty plugin * * @package Smarty * @subpackage Security * @author Uwe Tews */ /* * FIXME: Smarty_Security API * - getter and setter instead of public properties would allow cultivating an internal cache properly * - current implementation of isTrustedResourceDir() assumes that Smarty::...
PHP
<?php /** * Smarty Internal Plugin Compile Continue * * Compiles the {continue} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Continue Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Continue ext...
PHP
<?php /** * Smarty Internal Plugin Compile Object Funtion * * Compiles code for registered objects as function * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Object Function Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Com...
PHP
<?php /** * Smarty Internal Plugin Compile Setfilter * * Compiles code for setfilter tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Setfilter Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Setfil...
PHP
<?php /** * Smarty Internal Plugin Compile Rdelim * * Compiles the {rdelim} tag * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Rdelim Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_Compile...
PHP
<?php /** * Smarty Internal Plugin Compile Insert * * Compiles the {insert} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Insert Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Insert extends Smarty_Internal_Com...
PHP
<?php /** * Smarty Resource Plugin * * @package Smarty * @subpackage TemplateResources * @author Rodney Rehm */ /** * Smarty Resource Plugin * * Wrapper Implementation for custom resource plugins * * @package Smarty * @subpackage TemplateResources */ abstract class Smarty_Resource_Custom extends Smarty_Re...
PHP
<?php /** * Smarty Internal Plugin Config File Compiler * * This is the config file compiler class. It calls the lexer and parser to * perform the compiling. * * @package Smarty * @subpackage Config * @author Uwe Tews */ /** * Main config file compiler class * * @package Smarty * @subpackage Config */ cl...
PHP
<?php /** * Smarty Internal Plugin Compile Append * * Compiles the {append} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Append Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Append extends Smarty_Internal_Comp...
PHP
<?php /** * Smarty write file plugin * * @package Smarty * @subpackage PluginsInternal * @author Monte Ohrt */ /** * Smarty Internal Write File Class * * @package Smarty * @subpackage PluginsInternal */ class Smarty_Internal_Write_File { /** * Writes file in a safe way to disk * * @param...
PHP
<?php /** * Smarty Internal Plugin Compile extend * * Compiles the {extends} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile extend Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Extends extends Smarty_Internal_CompileBase { ...
PHP
<?php /** * Smarty Internal Plugin Nocache Insert * * Compiles the {insert} tag into the cache file * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Insert Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Nocach...
PHP
<?php /** * Smarty Internal Plugin Compile Object Block Function * * Compiles code for registered objects as block function * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Object Block Function Class * * @package Smarty * @subpackage Compiler */ class ...
PHP
<?php /** * Smarty Internal Plugin Compile Include PHP * * Compiles the {include_php} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Insert Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Include_Php extends Smart...
PHP
<?php /** * Smarty Internal Plugin Compile While * * Compiles the {while} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile While Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_While extends Smarty_Internal_CompileB...
PHP
<?php /** * Smarty Internal Plugin Compile For * * Compiles the {for} {forelse} {/for} tags * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile For Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_For extends Smarty_Interna...
PHP