mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
Fix comments and indentation (#637)
* Fix indentation * Replace url of smarty.net from http to https * Fix breaking links Replace from http://smarty.php.net to https://www.smarty.net * Replace link from http to https * Fix CHANGELOG.md
This commit is contained in:
@@ -32,7 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
## [3.1.37] - 2021-01-07
|
## [3.1.37] - 2021-01-07
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Dropped support for PHP versions lower than PHP7.1 (and disabled unit tests for 7.1)
|
|
||||||
- Changed error handlers and handling of undefined constants for php8-compatibility (set $errcontext argument optional) https://github.com/smarty-php/smarty/issues/605
|
- Changed error handlers and handling of undefined constants for php8-compatibility (set $errcontext argument optional) https://github.com/smarty-php/smarty/issues/605
|
||||||
- Changed expected error levels in unit tests for php8-compatibility
|
- Changed expected error levels in unit tests for php8-compatibility
|
||||||
- Travis unit tests now run for all php versions >= 5.3, including php8
|
- Travis unit tests now run for all php versions >= 5.3, including php8
|
||||||
@@ -337,7 +336,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
20.09.2016
|
20.09.2016
|
||||||
- bugfix some $smarty special template variables are no longer accessed as real variable.
|
- bugfix some $smarty special template variables are no longer accessed as real variable.
|
||||||
using them on calls like {if isset($smarty.foo)} or {if empty($smarty.foo)} will fail
|
using them on calls like {if isset($smarty.foo)} or {if empty($smarty.foo)} will fail
|
||||||
http://www.smarty.net/forums/viewtopic.php?t=26222
|
https://www.smarty.net/forums/viewtopic.php?t=26222
|
||||||
- temporary fix for https://github.com/smarty-php/smarty/issues/293 main reason still under investigation
|
- temporary fix for https://github.com/smarty-php/smarty/issues/293 main reason still under investigation
|
||||||
- improvement new tags {block_parent} {block_child} in template inheritance
|
- improvement new tags {block_parent} {block_child} in template inheritance
|
||||||
|
|
||||||
@@ -349,7 +348,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- bugfix assigning a variable in if condition by function like {if $value = array_shift($array)} the function got called twice https://github.com/smarty-php/smarty/issues/291
|
- bugfix assigning a variable in if condition by function like {if $value = array_shift($array)} the function got called twice https://github.com/smarty-php/smarty/issues/291
|
||||||
- bugfix function plugins called with assign attribute like {foo assign='bar'} did not output returned content because
|
- bugfix function plugins called with assign attribute like {foo assign='bar'} did not output returned content because
|
||||||
because assumption was made that it was assigned to a variable https://github.com/smarty-php/smarty/issues/292
|
because assumption was made that it was assigned to a variable https://github.com/smarty-php/smarty/issues/292
|
||||||
- bugfix calling $smarty->isCached() on a not existing cache file with $smarty->cache_locking = true; could cause a 10 second delay http://www.smarty.net/forums/viewtopic.php?t=26282
|
- bugfix calling $smarty->isCached() on a not existing cache file with $smarty->cache_locking = true; could cause a 10 second delay https://www.smarty.net/forums/viewtopic.php?t=26282
|
||||||
- improvement make Smarty::clearCompiledTemplate() on custom resource independent from changes of templateId computation
|
- improvement make Smarty::clearCompiledTemplate() on custom resource independent from changes of templateId computation
|
||||||
|
|
||||||
11.09.2016
|
11.09.2016
|
||||||
|
2
README
2
README
@@ -51,7 +51,7 @@ $smarty->unregisterFilter(...)
|
|||||||
|
|
||||||
Please refer to the online documentation for all specific changes:
|
Please refer to the online documentation for all specific changes:
|
||||||
|
|
||||||
http://www.smarty.net/documentation
|
https://www.smarty.net/documentation
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
"keywords": [
|
"keywords": [
|
||||||
"templating"
|
"templating"
|
||||||
],
|
],
|
||||||
"homepage": "http://www.smarty.net",
|
"homepage": "https://www.smarty.net",
|
||||||
"license": "LGPL-3.0",
|
"license": "LGPL-3.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/smarty-php/smarty/issues",
|
"issues": "https://github.com/smarty-php/smarty/issues",
|
||||||
"forum": "http://www.smarty.net/forums/"
|
"forum": "https://www.smarty.net/forums/"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1 || ^8.0"
|
"php": "^7.1 || ^8.0"
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
* Smarty mailing list. Send a blank e-mail to
|
* Smarty mailing list. Send a blank e-mail to
|
||||||
* smarty-discussion-subscribe@googlegroups.com
|
* smarty-discussion-subscribe@googlegroups.com
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/
|
* @link https://www.smarty.net/
|
||||||
* @copyright 2018 New Digital Group, Inc.
|
* @copyright 2018 New Digital Group, Inc.
|
||||||
* @copyright 2018 Uwe Tews
|
* @copyright 2018 Uwe Tews
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
* - indent_char - string (" ")
|
* - indent_char - string (" ")
|
||||||
* - wrap_boundary - boolean (true)
|
* - wrap_boundary - boolean (true)
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.textformat.php {textformat}
|
* @link https://www.smarty.net/manual/en/language.function.textformat.php {textformat}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
* Purpose: print out a counter value
|
* Purpose: print out a counter value
|
||||||
*
|
*
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @link http://www.smarty.net/manual/en/language.function.counter.php {counter}
|
* @link https://www.smarty.net/manual/en/language.function.counter.php {counter}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
* {cycle name=row values="one,two,three" reset=true}
|
* {cycle name=row values="one,two,three" reset=true}
|
||||||
* {cycle name=row}
|
* {cycle name=row}
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.cycle.php {cycle}
|
* @link https://www.smarty.net/manual/en/language.function.cycle.php {cycle}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @author credit to Mark Priatel <mpriatel@rogers.com>
|
* @author credit to Mark Priatel <mpriatel@rogers.com>
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: fetch
|
* Name: fetch
|
||||||
* Purpose: fetch file, web or ftp data and display results
|
* Purpose: fetch file, web or ftp data and display results
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch}
|
* @link https://www.smarty.net/manual/en/language.function.fetch.php {fetch}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
*
|
*
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
* - assign (optional) - assign the output as an array to this variable
|
* - assign (optional) - assign the output as an array to this variable
|
||||||
* - escape (optional) - escape the content (not value), defaults to true
|
* - escape (optional) - escape the content (not value), defaults to true
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes}
|
* @link https://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
|
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
|
||||||
* @author credits to Monte Ohrt <monte at ohrt dot com>
|
* @author credits to Monte Ohrt <monte at ohrt dot com>
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
* - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT
|
* - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT
|
||||||
* - path_prefix - prefix for path output (optional, default empty)
|
* - path_prefix - prefix for path output (optional, default empty)
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.html.image.php {html_image}
|
* @link https://www.smarty.net/manual/en/language.function.html.image.php {html_image}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @author credits to Duda <duda@big.hu>
|
* @author credits to Duda <duda@big.hu>
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
* - id (optional) - string default not set
|
* - id (optional) - string default not set
|
||||||
* - class (optional) - string default not set
|
* - class (optional) - string default not set
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.html.options.php {html_image}
|
* @link https://www.smarty.net/manual/en/language.function.html.options.php {html_image}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @author Ralf Strehle (minor optimization) <ralf dot strehle at yahoo dot de>
|
* @author Ralf Strehle (minor optimization) <ralf dot strehle at yahoo dot de>
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
* {html_radios values=$ids name='box' separator='<br>' output=$names}
|
* {html_radios values=$ids name='box' separator='<br>' output=$names}
|
||||||
* {html_radios values=$ids checked=$checked separator='<br>' output=$names}
|
* {html_radios values=$ids checked=$checked separator='<br>' output=$names}
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios}
|
* @link https://www.smarty.net/manual/en/language.function.html.radios.php {html_radios}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
|
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
|
||||||
* @author credits to Monte Ohrt <monte at ohrt dot com>
|
* @author credits to Monte Ohrt <monte at ohrt dot com>
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
* - 2.0 complete rewrite for performance,
|
* - 2.0 complete rewrite for performance,
|
||||||
* added attributes month_names, *_id
|
* added attributes month_names, *_id
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date}
|
* @link https://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @version 2.0
|
* @version 2.0
|
||||||
* @author Andrei Zmievski
|
* @author Andrei Zmievski
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: html_select_time
|
* Name: html_select_time
|
||||||
* Purpose: Prints the dropdowns for time selection
|
* Purpose: Prints the dropdowns for time selection
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time}
|
* @link https://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Roberto Berto <roberto@berto.net>
|
* @author Roberto Berto <roberto@berto.net>
|
||||||
* @author Monte Ohrt <monte AT ohrt DOT com>
|
* @author Monte Ohrt <monte AT ohrt DOT com>
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
* @author credit to Messju Mohr <messju at lammfellpuschen dot de>
|
* @author credit to Messju Mohr <messju at lammfellpuschen dot de>
|
||||||
* @author credit to boots <boots dot smarty at yahoo dot com>
|
* @author credit to boots <boots dot smarty at yahoo dot com>
|
||||||
* @version 1.1
|
* @version 1.1
|
||||||
* @link http://www.smarty.net/manual/en/language.function.html.table.php {html_table}
|
* @link https://www.smarty.net/manual/en/language.function.html.table.php {html_table}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
* {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
|
* {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
|
||||||
* {mailto address="me@domain.com" extra='class="mailto"'}
|
* {mailto address="me@domain.com" extra='class="mailto"'}
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.mailto.php {mailto}
|
* @link https://www.smarty.net/manual/en/language.function.mailto.php {mailto}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @version 1.2
|
* @version 1.2
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
* Name: math
|
* Name: math
|
||||||
* Purpose: handle math computations in template
|
* Purpose: handle math computations in template
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.function.math.php {math}
|
* @link https://www.smarty.net/manual/en/language.function.math.php {math}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
*
|
*
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* - format: strftime format for output
|
* - format: strftime format for output
|
||||||
* - default_date: default date if $string is empty
|
* - default_date: default date if $string is empty
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.date.format.php date_format (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.date.format.php date_format (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
*
|
*
|
||||||
* @param string $string input date string
|
* @param string $string input date string
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: escape
|
* Name: escape
|
||||||
* Purpose: escape string for output
|
* Purpose: escape string for output
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/docs/en/language.modifier.escape
|
* @link https://www.smarty.net/docs/en/language.modifier.escape
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
*
|
*
|
||||||
* @param string $string input string
|
* @param string $string input string
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: mb_wordwrap
|
* Name: mb_wordwrap
|
||||||
* Purpose: Wrap a string to a given number of characters
|
* Purpose: Wrap a string to a given number of characters
|
||||||
*
|
*
|
||||||
* @link http://php.net/manual/en/function.wordwrap.php for similarity
|
* @link https://php.net/manual/en/function.wordwrap.php for similarity
|
||||||
*
|
*
|
||||||
* @param string $str the string to wrap
|
* @param string $str the string to wrap
|
||||||
* @param int $width the width of the output
|
* @param int $width the width of the output
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: regex_replace
|
* Name: regex_replace
|
||||||
* Purpose: regular expression search/replace
|
* Purpose: regular expression search/replace
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
|
* @link https://www.smarty.net/manual/en/language.modifier.regex.replace.php
|
||||||
* regex_replace (Smarty online manual)
|
* regex_replace (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: replace
|
* Name: replace
|
||||||
* Purpose: simple search/replace
|
* Purpose: simple search/replace
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: spacify
|
* Name: spacify
|
||||||
* Purpose: add spaces between characters in a string
|
* Purpose: add spaces between characters in a string
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
*
|
*
|
||||||
* @param string $string input string
|
* @param string $string input string
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
* optionally splitting in the middle of a word, and
|
* optionally splitting in the middle of a word, and
|
||||||
* appending the $etc string or inserting $etc into the middle.
|
* appending the $etc string or inserting $etc into the middle.
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.truncate.php truncate (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.truncate.php truncate (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
*
|
*
|
||||||
* @param string $string input string
|
* @param string $string input string
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
* Input: string to catenate
|
* Input: string to catenate
|
||||||
* Example: {$var|cat:"foo"}
|
* Example: {$var|cat:"foo"}
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
|
* @link https://www.smarty.net/manual/en/language.modifier.cat.php cat
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: count_characters
|
* Name: count_characters
|
||||||
* Purpose: count the number of characters in a text
|
* Purpose: count the number of characters in a text
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online
|
* @link https://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online
|
||||||
* manual)
|
* manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: count_paragraphs
|
* Name: count_paragraphs
|
||||||
* Purpose: count the number of paragraphs in a text
|
* Purpose: count the number of paragraphs in a text
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
* @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
||||||
* count_paragraphs (Smarty online manual)
|
* count_paragraphs (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: count_sentences
|
* Name: count_sentences
|
||||||
* Purpose: count the number of sentences in a text
|
* Purpose: count the number of sentences in a text
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
* @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
|
||||||
* count_sentences (Smarty online manual)
|
* count_sentences (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: count_words
|
* Name: count_words
|
||||||
* Purpose: count the number of words in a text
|
* Purpose: count the number of words in a text
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: default
|
* Name: default
|
||||||
* Purpose: designate default value for empty variables
|
* Purpose: designate default value for empty variables
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: escape
|
* Name: escape
|
||||||
* Purpose: escape string for output
|
* Purpose: escape string for output
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual)
|
* @link https://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual)
|
||||||
* @author Rodney Rehm
|
* @author Rodney Rehm
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: indent
|
* Name: indent
|
||||||
* Purpose: indent lines of text
|
* Purpose: indent lines of text
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: lower
|
* Name: lower
|
||||||
* Purpose: convert string to lowercase
|
* Purpose: convert string to lowercase
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
|
||||||
* @author Monte Ohrt <monte at ohrt dot com>
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: string_format
|
* Name: string_format
|
||||||
* Purpose: format strings via sprintf
|
* Purpose: format strings via sprintf
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
* Example: {$var|strip} {$var|strip:" "}
|
* Example: {$var|strip} {$var|strip:" "}
|
||||||
* Date: September 25th, 2002
|
* Date: September 25th, 2002
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: strip_tags
|
* Name: strip_tags
|
||||||
* Purpose: strip html tags from text
|
* Purpose: strip html tags from text
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual)
|
* @link https://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: lower
|
* Name: lower
|
||||||
* Purpose: convert string to uppercase
|
* Purpose: convert string to uppercase
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
* Name: wordwrap
|
* Name: wordwrap
|
||||||
* Purpose: wrap a string of text at a given length
|
* Purpose: wrap a string of text at a given length
|
||||||
*
|
*
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual)
|
* @link https://www.smarty.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual)
|
||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*
|
*
|
||||||
* @param array $params parameters
|
* @param array $params parameters
|
||||||
|
@@ -41,7 +41,7 @@ function smarty_outputfilter_trimwhitespace($source)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Strip all HTML-Comments
|
// Strip all HTML-Comments
|
||||||
// yes, even the ones in <script> - see http://stackoverflow.com/a/808850/515124
|
// yes, even the ones in <script> - see https://stackoverflow.com/a/808850/515124
|
||||||
$source = preg_replace('#<!--.*?-->#ms', '', $source);
|
$source = preg_replace('#<!--.*?-->#ms', '', $source);
|
||||||
// capture html elements not to be messed with
|
// capture html elements not to be messed with
|
||||||
$_offset = 0;
|
$_offset = 0;
|
||||||
|
@@ -121,7 +121,7 @@ abstract class Smarty_Internal_Data
|
|||||||
* appends values to template variables
|
* appends values to template variables
|
||||||
*
|
*
|
||||||
* @api Smarty::append()
|
* @api Smarty::append()
|
||||||
* @link http://www.smarty.net/docs/en/api.append.tpl
|
* @link https://www.smarty.net/docs/en/api.append.tpl
|
||||||
*
|
*
|
||||||
* @param array|string $tpl_var the template variable name(s)
|
* @param array|string $tpl_var the template variable name(s)
|
||||||
* @param mixed $value the value to append
|
* @param mixed $value the value to append
|
||||||
@@ -182,7 +182,7 @@ abstract class Smarty_Internal_Data
|
|||||||
* Returns a single or all template variables
|
* Returns a single or all template variables
|
||||||
*
|
*
|
||||||
* @api Smarty::getTemplateVars()
|
* @api Smarty::getTemplateVars()
|
||||||
* @link http://www.smarty.net/docs/en/api.get.template.vars.tpl
|
* @link https://www.smarty.net/docs/en/api.get.template.vars.tpl
|
||||||
*
|
*
|
||||||
* @param string $varName variable name or null
|
* @param string $varName variable name or null
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr optional pointer to data object
|
||||||
|
@@ -31,7 +31,7 @@ class Smarty_Internal_ErrorHandler
|
|||||||
public function activate() {
|
public function activate() {
|
||||||
/*
|
/*
|
||||||
Error muting is done because some people implemented custom error_handlers using
|
Error muting is done because some people implemented custom error_handlers using
|
||||||
http://php.net/set_error_handler and for some reason did not understand the following paragraph:
|
https://php.net/set_error_handler and for some reason did not understand the following paragraph:
|
||||||
|
|
||||||
It is important to remember that the standard PHP error handler is completely bypassed for the
|
It is important to remember that the standard PHP error handler is completely bypassed for the
|
||||||
error types specified by error_types unless the callback function returns FALSE.
|
error types specified by error_types unless the callback function returns FALSE.
|
||||||
@@ -54,7 +54,7 @@ class Smarty_Internal_ErrorHandler
|
|||||||
/**
|
/**
|
||||||
* Error Handler to mute expected messages
|
* Error Handler to mute expected messages
|
||||||
*
|
*
|
||||||
* @link http://php.net/set_error_handler
|
* @link https://php.net/set_error_handler
|
||||||
*
|
*
|
||||||
* @param integer $errno Error level
|
* @param integer $errno Error level
|
||||||
* @param $errstr
|
* @param $errstr
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_Append
|
|||||||
* appends values to template variables
|
* appends values to template variables
|
||||||
*
|
*
|
||||||
* @api Smarty::append()
|
* @api Smarty::append()
|
||||||
* @link http://www.smarty.net/docs/en/api.append.tpl
|
* @link https://www.smarty.net/docs/en/api.append.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
* @param array|string $tpl_var the template variable name(s)
|
* @param array|string $tpl_var the template variable name(s)
|
||||||
|
@@ -15,7 +15,7 @@ class Smarty_Internal_Method_AppendByRef
|
|||||||
* appends values to template variables by reference
|
* appends values to template variables by reference
|
||||||
*
|
*
|
||||||
* @api Smarty::appendByRef()
|
* @api Smarty::appendByRef()
|
||||||
* @link http://www.smarty.net/docs/en/api.append.by.ref.tpl
|
* @link https://www.smarty.net/docs/en/api.append.by.ref.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
* @param string $tpl_var the template variable name
|
* @param string $tpl_var the template variable name
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAllAssign
|
|||||||
* clear all the assigned template variables.
|
* clear all the assigned template variables.
|
||||||
*
|
*
|
||||||
* @api Smarty::clearAllAssign()
|
* @api Smarty::clearAllAssign()
|
||||||
* @link http://www.smarty.net/docs/en/api.clear.all.assign.tpl
|
* @link https://www.smarty.net/docs/en/api.clear.all.assign.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
*
|
*
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAllCache
|
|||||||
* Empty cache folder
|
* Empty cache folder
|
||||||
*
|
*
|
||||||
* @api Smarty::clearAllCache()
|
* @api Smarty::clearAllCache()
|
||||||
* @link http://www.smarty.net/docs/en/api.clear.all.cache.tpl
|
* @link https://www.smarty.net/docs/en/api.clear.all.cache.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty $smarty
|
* @param \Smarty $smarty
|
||||||
* @param integer $exp_time expiration time
|
* @param integer $exp_time expiration time
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearAssign
|
|||||||
* clear the given assigned template variable(s).
|
* clear the given assigned template variable(s).
|
||||||
*
|
*
|
||||||
* @api Smarty::clearAssign()
|
* @api Smarty::clearAssign()
|
||||||
* @link http://www.smarty.net/docs/en/api.clear.assign.tpl
|
* @link https://www.smarty.net/docs/en/api.clear.assign.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
* @param string|array $tpl_var the template variable(s) to clear
|
* @param string|array $tpl_var the template variable(s) to clear
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearCache
|
|||||||
* Empty cache for a specific template
|
* Empty cache for a specific template
|
||||||
*
|
*
|
||||||
* @api Smarty::clearCache()
|
* @api Smarty::clearCache()
|
||||||
* @link http://www.smarty.net/docs/en/api.clear.cache.tpl
|
* @link https://www.smarty.net/docs/en/api.clear.cache.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty $smarty
|
* @param \Smarty $smarty
|
||||||
* @param string $template_name template name
|
* @param string $template_name template name
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearCompiledTemplate
|
|||||||
* Delete compiled template file
|
* Delete compiled template file
|
||||||
*
|
*
|
||||||
* @api Smarty::clearCompiledTemplate()
|
* @api Smarty::clearCompiledTemplate()
|
||||||
* @link http://www.smarty.net/docs/en/api.clear.compiled.template.tpl
|
* @link https://www.smarty.net/docs/en/api.clear.compiled.template.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty $smarty
|
* @param \Smarty $smarty
|
||||||
* @param string $resource_name template name
|
* @param string $resource_name template name
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_ClearConfig
|
|||||||
* clear a single or all config variables
|
* clear a single or all config variables
|
||||||
*
|
*
|
||||||
* @api Smarty::clearConfig()
|
* @api Smarty::clearConfig()
|
||||||
* @link http://www.smarty.net/docs/en/api.clear.config.tpl
|
* @link https://www.smarty.net/docs/en/api.clear.config.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
* @param string|null $name variable name or null
|
* @param string|null $name variable name or null
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_ConfigLoad
|
|||||||
* load a config file, optionally load just selected sections
|
* load a config file, optionally load just selected sections
|
||||||
*
|
*
|
||||||
* @api Smarty::configLoad()
|
* @api Smarty::configLoad()
|
||||||
* @link http://www.smarty.net/docs/en/api.config.load.tpl
|
* @link https://www.smarty.net/docs/en/api.config.load.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
* @param string $config_file filename
|
* @param string $config_file filename
|
||||||
@@ -42,7 +42,7 @@ class Smarty_Internal_Method_ConfigLoad
|
|||||||
* load a config file, optionally load just selected sections
|
* load a config file, optionally load just selected sections
|
||||||
*
|
*
|
||||||
* @api Smarty::configLoad()
|
* @api Smarty::configLoad()
|
||||||
* @link http://www.smarty.net/docs/en/api.config.load.tpl
|
* @link https://www.smarty.net/docs/en/api.config.load.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data
|
* @param \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data
|
||||||
* @param string $config_file filename
|
* @param string $config_file filename
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_CreateData
|
|||||||
* creates a data object
|
* creates a data object
|
||||||
*
|
*
|
||||||
* @api Smarty::createData()
|
* @api Smarty::createData()
|
||||||
* @link http://www.smarty.net/docs/en/api.create.data.tpl
|
* @link https://www.smarty.net/docs/en/api.create.data.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param \Smarty_Internal_Template|\Smarty_Internal_Data|\Smarty_Data|\Smarty $parent next higher level of Smarty
|
* @param \Smarty_Internal_Template|\Smarty_Internal_Data|\Smarty_Data|\Smarty $parent next higher level of Smarty
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetConfigVars
|
|||||||
* Returns a single or all config variables
|
* Returns a single or all config variables
|
||||||
*
|
*
|
||||||
* @api Smarty::getConfigVars()
|
* @api Smarty::getConfigVars()
|
||||||
* @link http://www.smarty.net/docs/en/api.get.config.vars.tpl
|
* @link https://www.smarty.net/docs/en/api.get.config.vars.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
* @param string $varname variable name or null
|
* @param string $varname variable name or null
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetRegisteredObject
|
|||||||
* return a reference to a registered object
|
* return a reference to a registered object
|
||||||
*
|
*
|
||||||
* @api Smarty::getRegisteredObject()
|
* @api Smarty::getRegisteredObject()
|
||||||
* @link http://www.smarty.net/docs/en/api.get.registered.object.tpl
|
* @link https://www.smarty.net/docs/en/api.get.registered.object.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $object_name object name
|
* @param string $object_name object name
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetTags
|
|||||||
* Return array of tag/attributes of all tags used by an template
|
* Return array of tag/attributes of all tags used by an template
|
||||||
*
|
*
|
||||||
* @api Smarty::getTags()
|
* @api Smarty::getTags()
|
||||||
* @link http://www.smarty.net/docs/en/api.get.tags.tpl
|
* @link https://www.smarty.net/docs/en/api.get.tags.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param null|string|Smarty_Internal_Template $template
|
* @param null|string|Smarty_Internal_Template $template
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_GetTemplateVars
|
|||||||
* Returns a single or all template variables
|
* Returns a single or all template variables
|
||||||
*
|
*
|
||||||
* @api Smarty::getTemplateVars()
|
* @api Smarty::getTemplateVars()
|
||||||
* @link http://www.smarty.net/docs/en/api.get.template.vars.tpl
|
* @link https://www.smarty.net/docs/en/api.get.template.vars.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
* @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data
|
||||||
* @param string $varName variable name or null
|
* @param string $varName variable name or null
|
||||||
|
@@ -30,7 +30,7 @@ class Smarty_Internal_Method_LoadFilter
|
|||||||
*
|
*
|
||||||
* @api Smarty::loadFilter()
|
* @api Smarty::loadFilter()
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/docs/en/api.load.filter.tpl
|
* @link https://www.smarty.net/docs/en/api.load.filter.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $type filter type
|
* @param string $type filter type
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterCacheResource
|
|||||||
* Registers a resource to fetch a template
|
* Registers a resource to fetch a template
|
||||||
*
|
*
|
||||||
* @api Smarty::registerCacheResource()
|
* @api Smarty::registerCacheResource()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.cacheresource.tpl
|
* @link https://www.smarty.net/docs/en/api.register.cacheresource.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $name name of resource type
|
* @param string $name name of resource type
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterClass
|
|||||||
* Registers static classes to be used in templates
|
* Registers static classes to be used in templates
|
||||||
*
|
*
|
||||||
* @api Smarty::registerClass()
|
* @api Smarty::registerClass()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.class.tpl
|
* @link https://www.smarty.net/docs/en/api.register.class.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $class_name
|
* @param string $class_name
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterDefaultPluginHandler
|
|||||||
* Registers a default plugin handler
|
* Registers a default plugin handler
|
||||||
*
|
*
|
||||||
* @api Smarty::registerDefaultPluginHandler()
|
* @api Smarty::registerDefaultPluginHandler()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.default.plugin.handler.tpl
|
* @link https://www.smarty.net/docs/en/api.register.default.plugin.handler.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param callable $callback class/method name
|
* @param callable $callback class/method name
|
||||||
|
@@ -30,7 +30,7 @@ class Smarty_Internal_Method_RegisterFilter
|
|||||||
*
|
*
|
||||||
* @api Smarty::registerFilter()
|
* @api Smarty::registerFilter()
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/docs/en/api.register.filter.tpl
|
* @link https://www.smarty.net/docs/en/api.register.filter.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $type filter type
|
* @param string $type filter type
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterObject
|
|||||||
* Registers object to be used in templates
|
* Registers object to be used in templates
|
||||||
*
|
*
|
||||||
* @api Smarty::registerObject()
|
* @api Smarty::registerObject()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.object.tpl
|
* @link https://www.smarty.net/docs/en/api.register.object.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $object_name
|
* @param string $object_name
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterPlugin
|
|||||||
* Registers plugin to be used in templates
|
* Registers plugin to be used in templates
|
||||||
*
|
*
|
||||||
* @api Smarty::registerPlugin()
|
* @api Smarty::registerPlugin()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.plugin.tpl
|
* @link https://www.smarty.net/docs/en/api.register.plugin.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $type plugin type
|
* @param string $type plugin type
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_RegisterResource
|
|||||||
* Registers a resource to fetch a template
|
* Registers a resource to fetch a template
|
||||||
*
|
*
|
||||||
* @api Smarty::registerResource()
|
* @api Smarty::registerResource()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.resource.tpl
|
* @link https://www.smarty.net/docs/en/api.register.resource.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $name name of resource type
|
* @param string $name name of resource type
|
||||||
|
@@ -16,7 +16,7 @@ class Smarty_Internal_Method_UnloadFilter extends Smarty_Internal_Method_LoadFil
|
|||||||
*
|
*
|
||||||
* @api Smarty::unloadFilter()
|
* @api Smarty::unloadFilter()
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/docs/en/api.unload.filter.tpl
|
* @link https://www.smarty.net/docs/en/api.unload.filter.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $type filter type
|
* @param string $type filter type
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_UnregisterCacheResource
|
|||||||
* Registers a resource to fetch a template
|
* Registers a resource to fetch a template
|
||||||
*
|
*
|
||||||
* @api Smarty::unregisterCacheResource()
|
* @api Smarty::unregisterCacheResource()
|
||||||
* @link http://www.smarty.net/docs/en/api.unregister.cacheresource.tpl
|
* @link https://www.smarty.net/docs/en/api.unregister.cacheresource.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param $name
|
* @param $name
|
||||||
|
@@ -16,7 +16,7 @@ class Smarty_Internal_Method_UnregisterFilter extends Smarty_Internal_Method_Reg
|
|||||||
*
|
*
|
||||||
* @api Smarty::unregisterFilter()
|
* @api Smarty::unregisterFilter()
|
||||||
*
|
*
|
||||||
* @link http://www.smarty.net/docs/en/api.unregister.filter.tpl
|
* @link https://www.smarty.net/docs/en/api.unregister.filter.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $type filter type
|
* @param string $type filter type
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_UnregisterObject
|
|||||||
* Registers plugin to be used in templates
|
* Registers plugin to be used in templates
|
||||||
*
|
*
|
||||||
* @api Smarty::unregisterObject()
|
* @api Smarty::unregisterObject()
|
||||||
* @link http://www.smarty.net/docs/en/api.unregister.object.tpl
|
* @link https://www.smarty.net/docs/en/api.unregister.object.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $object_name name of object
|
* @param string $object_name name of object
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_UnregisterPlugin
|
|||||||
* Registers plugin to be used in templates
|
* Registers plugin to be used in templates
|
||||||
*
|
*
|
||||||
* @api Smarty::unregisterPlugin()
|
* @api Smarty::unregisterPlugin()
|
||||||
* @link http://www.smarty.net/docs/en/api.unregister.plugin.tpl
|
* @link https://www.smarty.net/docs/en/api.unregister.plugin.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $type plugin type
|
* @param string $type plugin type
|
||||||
|
@@ -22,7 +22,7 @@ class Smarty_Internal_Method_UnregisterResource
|
|||||||
* Registers a resource to fetch a template
|
* Registers a resource to fetch a template
|
||||||
*
|
*
|
||||||
* @api Smarty::unregisterResource()
|
* @api Smarty::unregisterResource()
|
||||||
* @link http://www.smarty.net/docs/en/api.unregister.resource.tpl
|
* @link https://www.smarty.net/docs/en/api.unregister.resource.tpl
|
||||||
*
|
*
|
||||||
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
|
||||||
* @param string $type name of resource type
|
* @param string $type name of resource type
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
* Smarty Internal Plugin Resource Stream
|
* Smarty Internal Plugin Resource Stream
|
||||||
* Implements the streams as resource for Smarty template
|
* Implements the streams as resource for Smarty template
|
||||||
*
|
*
|
||||||
* @link http://php.net/streams
|
* @link https://php.net/streams
|
||||||
* @package Smarty
|
* @package Smarty
|
||||||
* @subpackage TemplateResources
|
* @subpackage TemplateResources
|
||||||
*/
|
*/
|
||||||
|
@@ -138,7 +138,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
|
|||||||
* test if cache is valid
|
* test if cache is valid
|
||||||
*
|
*
|
||||||
* @api Smarty::isCached()
|
* @api Smarty::isCached()
|
||||||
* @link http://www.smarty.net/docs/en/api.is.cached.tpl
|
* @link https://www.smarty.net/docs/en/api.is.cached.tpl
|
||||||
*
|
*
|
||||||
* @param null|string|\Smarty_Internal_Template $template the resource handle of the template file or template
|
* @param null|string|\Smarty_Internal_Template $template the resource handle of the template file or template
|
||||||
* object
|
* object
|
||||||
@@ -276,7 +276,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
|
|||||||
* Registers plugin to be used in templates
|
* Registers plugin to be used in templates
|
||||||
*
|
*
|
||||||
* @api Smarty::registerPlugin()
|
* @api Smarty::registerPlugin()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.plugin.tpl
|
* @link https://www.smarty.net/docs/en/api.register.plugin.tpl
|
||||||
*
|
*
|
||||||
* @param string $type plugin type
|
* @param string $type plugin type
|
||||||
* @param string $name name of template tag
|
* @param string $name name of template tag
|
||||||
@@ -296,7 +296,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
|
|||||||
* load a filter of specified type and name
|
* load a filter of specified type and name
|
||||||
*
|
*
|
||||||
* @api Smarty::loadFilter()
|
* @api Smarty::loadFilter()
|
||||||
* @link http://www.smarty.net/docs/en/api.load.filter.tpl
|
* @link https://www.smarty.net/docs/en/api.load.filter.tpl
|
||||||
*
|
*
|
||||||
* @param string $type filter type
|
* @param string $type filter type
|
||||||
* @param string $name filter name
|
* @param string $name filter name
|
||||||
@@ -313,7 +313,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
|
|||||||
* Registers a filter function
|
* Registers a filter function
|
||||||
*
|
*
|
||||||
* @api Smarty::registerFilter()
|
* @api Smarty::registerFilter()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.filter.tpl
|
* @link https://www.smarty.net/docs/en/api.register.filter.tpl
|
||||||
*
|
*
|
||||||
* @param string $type filter type
|
* @param string $type filter type
|
||||||
* @param callable $callback
|
* @param callable $callback
|
||||||
@@ -331,7 +331,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
|
|||||||
* Registers object to be used in templates
|
* Registers object to be used in templates
|
||||||
*
|
*
|
||||||
* @api Smarty::registerObject()
|
* @api Smarty::registerObject()
|
||||||
* @link http://www.smarty.net/docs/en/api.register.object.tpl
|
* @link https://www.smarty.net/docs/en/api.register.object.tpl
|
||||||
*
|
*
|
||||||
* @param string $object_name
|
* @param string $object_name
|
||||||
* @param object $object the referenced PHP object to register
|
* @param object $object the referenced PHP object to register
|
||||||
|
Reference in New Issue
Block a user