summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Wisselink <wisskid@users.noreply.github.com>2024-04-06 23:41:20 +0200
committerGitHub <noreply@github.com>2024-04-06 23:41:20 +0200
commit34adf4e54cae4a352d3b239f18aacc8d04861921 (patch)
tree663f7cecc3188551822d3b79df11e76be1151655 /src
parent5400b53edf17c8cb56b65852d6d077943aefc87e (diff)
downloadsmarty-34adf4e54cae4a352d3b239f18aacc8d04861921.tar.gz
smarty-34adf4e54cae4a352d3b239f18aacc8d04861921.tar.bz2
smarty-34adf4e54cae4a352d3b239f18aacc8d04861921.zip
Fixed unit tests to not rely on the existence of any domain or unavailability of internet access when running tests. (#987)
Diffstat (limited to 'src')
-rw-r--r--src/BlockHandler/TextFormat.php3
-rw-r--r--src/Compile/Modifier/CatModifierCompiler.php2
-rw-r--r--src/Compile/Modifier/CountCharactersModifierCompiler.php2
-rw-r--r--src/Compile/Modifier/CountParagraphsModifierCompiler.php2
-rw-r--r--src/Compile/Modifier/CountSentencesModifierCompiler.php2
-rw-r--r--src/Compile/Modifier/CountWordsModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/DefaultModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/EscapeModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/IndentModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/LowerModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/Nl2brModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/RoundModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/StrRepeatModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/StringFormatModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/StripModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/StripTagsModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/StrlenModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/UpperModifierCompiler.php1
-rw-r--r--src/Compile/Modifier/WordWrapModifierCompiler.php1
-rw-r--r--src/Data.php8
-rw-r--r--src/Extension/DefaultExtension.php7
-rw-r--r--src/FunctionHandler/Counter.php2
-rw-r--r--src/FunctionHandler/Cycle.php2
-rw-r--r--src/FunctionHandler/Fetch.php2
-rw-r--r--src/FunctionHandler/HtmlCheckboxes.php2
-rw-r--r--src/FunctionHandler/HtmlImage.php2
-rw-r--r--src/FunctionHandler/HtmlOptions.php2
-rw-r--r--src/FunctionHandler/HtmlRadios.php2
-rw-r--r--src/FunctionHandler/HtmlSelectDate.php2
-rw-r--r--src/FunctionHandler/HtmlSelectTime.php2
-rw-r--r--src/FunctionHandler/HtmlTable.php2
-rw-r--r--src/FunctionHandler/Mailto.php2
-rw-r--r--src/FunctionHandler/Math.php2
-rw-r--r--src/Smarty.php15
-rw-r--r--src/Template.php1
-rw-r--r--src/TemplateBase.php7
36 files changed, 0 insertions, 87 deletions
diff --git a/src/BlockHandler/TextFormat.php b/src/BlockHandler/TextFormat.php
index 9cd804bb..b4fa5acd 100644
--- a/src/BlockHandler/TextFormat.php
+++ b/src/BlockHandler/TextFormat.php
@@ -20,9 +20,6 @@ use Smarty\Template;
* - indent_char - string (" ")
* - wrap_boundary - boolean (true)
*
- * @link https://www.smarty.net/manual/en/language.function.textformat.php {textformat}
- * (Smarty online manual)
- *
* @param array $params parameters
* @param string $content contents of the block
* @param Template $template template object
diff --git a/src/Compile/Modifier/CatModifierCompiler.php b/src/Compile/Modifier/CatModifierCompiler.php
index f7cc2589..21005d5b 100644
--- a/src/Compile/Modifier/CatModifierCompiler.php
+++ b/src/Compile/Modifier/CatModifierCompiler.php
@@ -11,8 +11,6 @@ namespace Smarty\Compile\Modifier;
* Input: string to catenate
* Example: {$var|cat:"foo"}
*
- * @link https://www.smarty.net/manual/en/language.modifier.cat.php cat
- * (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/CountCharactersModifierCompiler.php b/src/Compile/Modifier/CountCharactersModifierCompiler.php
index 0afad80b..fb5f5ca3 100644
--- a/src/Compile/Modifier/CountCharactersModifierCompiler.php
+++ b/src/Compile/Modifier/CountCharactersModifierCompiler.php
@@ -6,8 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: count_characters
* Purpose: count the number of characters in a text
*
- * @link https://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online
- * manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/CountParagraphsModifierCompiler.php b/src/Compile/Modifier/CountParagraphsModifierCompiler.php
index f67e64a3..76552e07 100644
--- a/src/Compile/Modifier/CountParagraphsModifierCompiler.php
+++ b/src/Compile/Modifier/CountParagraphsModifierCompiler.php
@@ -6,8 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: count_paragraphs
* Purpose: count the number of paragraphs in a text
*
- * @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
- * count_paragraphs (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/CountSentencesModifierCompiler.php b/src/Compile/Modifier/CountSentencesModifierCompiler.php
index 503d63f1..bc7c43e1 100644
--- a/src/Compile/Modifier/CountSentencesModifierCompiler.php
+++ b/src/Compile/Modifier/CountSentencesModifierCompiler.php
@@ -6,8 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: count_sentences
* Purpose: count the number of sentences in a text
*
- * @link https://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
- * count_sentences (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/CountWordsModifierCompiler.php b/src/Compile/Modifier/CountWordsModifierCompiler.php
index e1c648ab..c11d546d 100644
--- a/src/Compile/Modifier/CountWordsModifierCompiler.php
+++ b/src/Compile/Modifier/CountWordsModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: count_words
* Purpose: count the number of words in a text
*
- * @link https://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/DefaultModifierCompiler.php b/src/Compile/Modifier/DefaultModifierCompiler.php
index f802e4d5..3d82aa70 100644
--- a/src/Compile/Modifier/DefaultModifierCompiler.php
+++ b/src/Compile/Modifier/DefaultModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: default
* Purpose: designate default value for empty variables
*
- * @link https://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/EscapeModifierCompiler.php b/src/Compile/Modifier/EscapeModifierCompiler.php
index 54e6f34b..b600e08c 100644
--- a/src/Compile/Modifier/EscapeModifierCompiler.php
+++ b/src/Compile/Modifier/EscapeModifierCompiler.php
@@ -9,7 +9,6 @@ use Smarty\Exception;
* Name: escape
* Purpose: escape string for output
*
- * @link https://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual)
* @author Rodney Rehm
*/
diff --git a/src/Compile/Modifier/IndentModifierCompiler.php b/src/Compile/Modifier/IndentModifierCompiler.php
index 401e24a1..353e757f 100644
--- a/src/Compile/Modifier/IndentModifierCompiler.php
+++ b/src/Compile/Modifier/IndentModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: indent
* Purpose: indent lines of text
*
- * @link https://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/LowerModifierCompiler.php b/src/Compile/Modifier/LowerModifierCompiler.php
index 4186b1ec..62fc87e9 100644
--- a/src/Compile/Modifier/LowerModifierCompiler.php
+++ b/src/Compile/Modifier/LowerModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: lower
* Purpose: convert string to lowercase
*
- * @link https://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/Nl2brModifierCompiler.php b/src/Compile/Modifier/Nl2brModifierCompiler.php
index 074e6772..c3b1aa53 100644
--- a/src/Compile/Modifier/Nl2brModifierCompiler.php
+++ b/src/Compile/Modifier/Nl2brModifierCompiler.php
@@ -7,7 +7,6 @@ namespace Smarty\Compile\Modifier;
* Name: nl2br
* Purpose: insert HTML line breaks before all newlines in a string
*
- * @link https://www.smarty.net/docs/en/language.modifier.nl2br.tpl nl2br (Smarty online manual)
*/
class Nl2brModifierCompiler extends Base {
diff --git a/src/Compile/Modifier/RoundModifierCompiler.php b/src/Compile/Modifier/RoundModifierCompiler.php
index 33645ea0..82476833 100644
--- a/src/Compile/Modifier/RoundModifierCompiler.php
+++ b/src/Compile/Modifier/RoundModifierCompiler.php
@@ -7,7 +7,6 @@ namespace Smarty\Compile\Modifier;
* Name: round
* Purpose: Returns the rounded value of num to specified precision (number of digits after the decimal point)
*
- * @link https://www.smarty.net/docs/en/language.modifier.round.tpl round (Smarty online manual)
*/
class RoundModifierCompiler extends Base {
diff --git a/src/Compile/Modifier/StrRepeatModifierCompiler.php b/src/Compile/Modifier/StrRepeatModifierCompiler.php
index dbe4ba77..c33af329 100644
--- a/src/Compile/Modifier/StrRepeatModifierCompiler.php
+++ b/src/Compile/Modifier/StrRepeatModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: str_repeat
* Purpose: returns string repeated times times
*
- * @link https://www.smarty.net/docs/en/language.modifier.str_repeat.tpl str_repeat (Smarty online manual)
*/
class StrRepeatModifierCompiler extends Base {
diff --git a/src/Compile/Modifier/StringFormatModifierCompiler.php b/src/Compile/Modifier/StringFormatModifierCompiler.php
index a0c23ae5..e662f016 100644
--- a/src/Compile/Modifier/StringFormatModifierCompiler.php
+++ b/src/Compile/Modifier/StringFormatModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: string_format
* Purpose: format strings via sprintf
*
- * @link https://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/StripModifierCompiler.php b/src/Compile/Modifier/StripModifierCompiler.php
index 78871640..d85f83df 100644
--- a/src/Compile/Modifier/StripModifierCompiler.php
+++ b/src/Compile/Modifier/StripModifierCompiler.php
@@ -9,7 +9,6 @@ namespace Smarty\Compile\Modifier;
* Example: {$var|strip} {$var|strip:"&nbsp;"}
* Date: September 25th, 2002
*
- * @link https://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/StripTagsModifierCompiler.php b/src/Compile/Modifier/StripTagsModifierCompiler.php
index e8885bc7..dfd09437 100644
--- a/src/Compile/Modifier/StripTagsModifierCompiler.php
+++ b/src/Compile/Modifier/StripTagsModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: strip_tags
* Purpose: strip html tags from text
*
- * @link https://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/StrlenModifierCompiler.php b/src/Compile/Modifier/StrlenModifierCompiler.php
index 07a44718..5cc666fd 100644
--- a/src/Compile/Modifier/StrlenModifierCompiler.php
+++ b/src/Compile/Modifier/StrlenModifierCompiler.php
@@ -7,7 +7,6 @@ namespace Smarty\Compile\Modifier;
* Name: strlen
* Purpose: return the length of the given string
*
- * @link https://www.smarty.net/docs/en/language.modifier.strlen.tpl strlen (Smarty online manual)
*/
class StrlenModifierCompiler extends Base {
diff --git a/src/Compile/Modifier/UpperModifierCompiler.php b/src/Compile/Modifier/UpperModifierCompiler.php
index 9bef41ff..74e9a702 100644
--- a/src/Compile/Modifier/UpperModifierCompiler.php
+++ b/src/Compile/Modifier/UpperModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: lower
* Purpose: convert string to uppercase
*
- * @link https://www.smarty.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Compile/Modifier/WordWrapModifierCompiler.php b/src/Compile/Modifier/WordWrapModifierCompiler.php
index 4a6d84b0..092b95a8 100644
--- a/src/Compile/Modifier/WordWrapModifierCompiler.php
+++ b/src/Compile/Modifier/WordWrapModifierCompiler.php
@@ -6,7 +6,6 @@ namespace Smarty\Compile\Modifier;
* Name: wordwrap
* Purpose: wrap a string of text at a given length
*
- * @link https://www.smarty.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual)
* @author Uwe Tews
*/
diff --git a/src/Data.php b/src/Data.php
index 582ee660..64a4770e 100644
--- a/src/Data.php
+++ b/src/Data.php
@@ -163,8 +163,6 @@ class Data
* be not cached
*
* @return Data
- * @link https://www.smarty.net/docs/en/api.append.tpl
- *
* @api Smarty::append()
*/
public function append($tpl_var, $value = null, $merge = false, $nocache = false)
@@ -218,7 +216,6 @@ class Data
*
* @return mixed variable value or or array of variables
* @api Smarty::getTemplateVars()
- * @link https://www.smarty.net/docs/en/api.get.template.vars.tpl
*
*/
public function getTemplateVars($varName = null, $searchParents = true)
@@ -351,7 +348,6 @@ class Data
* @param string|array $tpl_var the template variable(s) to clear
*
* @return Data
- * @link https://www.smarty.net/docs/en/api.clear.assign.tpl
*
* @api Smarty::clearAssign()
*/
@@ -371,7 +367,6 @@ class Data
* clear all the assigned template variables.
*
* @return Data
- * @link https://www.smarty.net/docs/en/api.clear.all.assign.tpl
*
* @api Smarty::clearAllAssign()
*/
@@ -387,7 +382,6 @@ class Data
* @param string|null $name variable name or null
*
* @return Data
- * @link https://www.smarty.net/docs/en/api.clear.config.tpl
*
* @api Smarty::clearConfig()
*/
@@ -440,7 +434,6 @@ class Data
*
* @return mixed variable value or or array of variables
* @throws Exception
- * @link https://www.smarty.net/docs/en/api.get.config.vars.tpl
*
* @api Smarty::getConfigVars()
*/
@@ -462,7 +455,6 @@ class Data
* @returns $this
* @throws \Exception
- * @link https://www.smarty.net/docs/en/api.config.load.tpl
*
* @api Smarty::configLoad()
*/
diff --git a/src/Extension/DefaultExtension.php b/src/Extension/DefaultExtension.php
index e400dddb..cecc4a46 100644
--- a/src/Extension/DefaultExtension.php
+++ b/src/Extension/DefaultExtension.php
@@ -113,7 +113,6 @@ class DefaultExtension extends Base {
* Name: spacify
* Purpose: add spaces between characters in a string
*
- * @link https://www.smarty.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
*
* @param string $string input string
@@ -234,7 +233,6 @@ class DefaultExtension extends Base {
* - format: strftime format for output
* - default_date: default date if $string is empty
*
- * @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>
*
* @param string $string input date string
@@ -386,7 +384,6 @@ class DefaultExtension extends Base {
* Name: escape
* Purpose: escape string for output
*
- * @link https://www.smarty.net/docs/en/language.modifier.escape
* @author Monte Ohrt <monte at ohrt dot com>
*
* @param string $string input string
@@ -654,8 +651,6 @@ class DefaultExtension extends Base {
* Name: regex_replace
* Purpose: regular expression search/replace
*
- * @link https://www.smarty.net/manual/en/language.modifier.regex.replace.php
- * regex_replace (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
*
* @param string $string input string
@@ -703,7 +698,6 @@ class DefaultExtension extends Base {
* Name: replace
* Purpose: simple search/replace
*
- * @link https://www.smarty.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
* @author Uwe Tews
*
@@ -726,7 +720,6 @@ class DefaultExtension extends Base {
* optionally splitting in the middle of a word, and
* appending the $etc string or inserting $etc into the middle.
*
- * @link https://www.smarty.net/manual/en/language.modifier.truncate.php truncate (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
*
* @param string $string input string
diff --git a/src/FunctionHandler/Counter.php b/src/FunctionHandler/Counter.php
index c6f9fdbe..b447caf1 100644
--- a/src/FunctionHandler/Counter.php
+++ b/src/FunctionHandler/Counter.php
@@ -13,8 +13,6 @@ use Smarty\Template;
* @param Template $template template object
*
* @return string|null
- *@link https://www.smarty.net/manual/en/language.function.counter.php {counter}
- * (Smarty online manual)
*
* @author Monte Ohrt <monte at ohrt dot com>
*/
diff --git a/src/FunctionHandler/Cycle.php b/src/FunctionHandler/Cycle.php
index 756573fa..909a688b 100644
--- a/src/FunctionHandler/Cycle.php
+++ b/src/FunctionHandler/Cycle.php
@@ -26,8 +26,6 @@ use Smarty\Template;
* {cycle name=row values="one,two,three" reset=true}
* {cycle name=row}
*
- * @link https://www.smarty.net/manual/en/language.function.cycle.php {cycle}
- * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
* @author credit to Mark Priatel <mpriatel@rogers.com>
* @author credit to Gerard <gerard@interfold.com>
diff --git a/src/FunctionHandler/Fetch.php b/src/FunctionHandler/Fetch.php
index 3031ac88..d10ef668 100644
--- a/src/FunctionHandler/Fetch.php
+++ b/src/FunctionHandler/Fetch.php
@@ -10,8 +10,6 @@ use Smarty\Template;
* Name: fetch
* Purpose: fetch file, web or ftp data and display results
*
- * @link https://www.smarty.net/manual/en/language.function.fetch.php {fetch}
- * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
*
* @param array $params parameters
diff --git a/src/FunctionHandler/HtmlCheckboxes.php b/src/FunctionHandler/HtmlCheckboxes.php
index a32b48b2..45ecc40a 100644
--- a/src/FunctionHandler/HtmlCheckboxes.php
+++ b/src/FunctionHandler/HtmlCheckboxes.php
@@ -27,8 +27,6 @@ use Smarty\Template;
* - assign (optional) - assign the output as an array to this variable
* - escape (optional) - escape the content (not value), defaults to true
*
- * @link https://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes}
- * (Smarty online manual)
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
* @author credits to Monte Ohrt <monte at ohrt dot com>
* @version 1.0
diff --git a/src/FunctionHandler/HtmlImage.php b/src/FunctionHandler/HtmlImage.php
index a524eef9..9cb08745 100644
--- a/src/FunctionHandler/HtmlImage.php
+++ b/src/FunctionHandler/HtmlImage.php
@@ -20,8 +20,6 @@ use Smarty\Template;
* - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT
* - path_prefix - prefix for path output (optional, default empty)
*
- * @link https://www.smarty.net/manual/en/language.function.html.image.php {html_image}
- * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
* @author credits to Duda <duda@big.hu>
* @version 1.0
diff --git a/src/FunctionHandler/HtmlOptions.php b/src/FunctionHandler/HtmlOptions.php
index c008766d..5346738b 100644
--- a/src/FunctionHandler/HtmlOptions.php
+++ b/src/FunctionHandler/HtmlOptions.php
@@ -19,8 +19,6 @@ use Smarty\Template;
* - id (optional) - string default not set
* - class (optional) - string default not set
*
- * @link https://www.smarty.net/manual/en/language.function.html.options.php {html_image}
- * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
* @author Ralf Strehle (minor optimization) <ralf dot strehle at yahoo dot de>
*
diff --git a/src/FunctionHandler/HtmlRadios.php b/src/FunctionHandler/HtmlRadios.php
index 0cc95609..544c5c7d 100644
--- a/src/FunctionHandler/HtmlRadios.php
+++ b/src/FunctionHandler/HtmlRadios.php
@@ -27,8 +27,6 @@ use Smarty\Template;
* {html_radios values=$ids name='box' separator='<br>' output=$names}
* {html_radios values=$ids checked=$checked separator='<br>' output=$names}
*
- * @link https://www.smarty.net/manual/en/language.function.html.radios.php {html_radios}
- * (Smarty online manual)
* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
* @author credits to Monte Ohrt <monte at ohrt dot com>
* @version 1.0
diff --git a/src/FunctionHandler/HtmlSelectDate.php b/src/FunctionHandler/HtmlSelectDate.php
index 55e36641..a6acfb7b 100644
--- a/src/FunctionHandler/HtmlSelectDate.php
+++ b/src/FunctionHandler/HtmlSelectDate.php
@@ -26,8 +26,6 @@ use Smarty\Template;
* - 2.0 complete rewrite for performance,
* added attributes month_names, *_id
*
- * @link https://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date}
- * (Smarty online manual)
* @version 2.0
* @author Andrei Zmievski
* @author Monte Ohrt <monte at ohrt dot com>
diff --git a/src/FunctionHandler/HtmlSelectTime.php b/src/FunctionHandler/HtmlSelectTime.php
index 6e4f679d..40679c10 100644
--- a/src/FunctionHandler/HtmlSelectTime.php
+++ b/src/FunctionHandler/HtmlSelectTime.php
@@ -9,8 +9,6 @@ use Smarty\Template;
* Name: html_select_time
* Purpose: Prints the dropdowns for time selection
*
- * @link https://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time}
- * (Smarty online manual)
* @author Roberto Berto <roberto@berto.net>
* @author Monte Ohrt <monte AT ohrt DOT com>
*
diff --git a/src/FunctionHandler/HtmlTable.php b/src/FunctionHandler/HtmlTable.php
index 1dadc7f1..d5d14705 100644
--- a/src/FunctionHandler/HtmlTable.php
+++ b/src/FunctionHandler/HtmlTable.php
@@ -37,8 +37,6 @@ use Smarty\Template;
* @return string
*@author credit to boots <boots dot smarty at yahoo dot com>
* @version 1.1
- * @link https://www.smarty.net/manual/en/language.function.html.table.php {html_table}
- * (Smarty online manual)
*
* @author Monte Ohrt <monte at ohrt dot com>
* @author credit to Messju Mohr <messju at lammfellpuschen dot de>
diff --git a/src/FunctionHandler/Mailto.php b/src/FunctionHandler/Mailto.php
index 8f7b821a..eb35c48e 100644
--- a/src/FunctionHandler/Mailto.php
+++ b/src/FunctionHandler/Mailto.php
@@ -35,8 +35,6 @@ use Smarty\Template;
* {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
* {mailto address="me@domain.com" extra='class="mailto"'}
*
- * @link https://www.smarty.net/manual/en/language.function.mailto.php {mailto}
- * (Smarty online manual)
* @version 1.2
* @author Monte Ohrt <monte at ohrt dot com>
* @author credits to Jason Sweat (added cc, bcc and subject functionality)
diff --git a/src/FunctionHandler/Math.php b/src/FunctionHandler/Math.php
index f8236ca9..23ef9253 100644
--- a/src/FunctionHandler/Math.php
+++ b/src/FunctionHandler/Math.php
@@ -10,8 +10,6 @@ use Smarty\Template;
* Name: math
* Purpose: handle math computations in template
*
- * @link https://www.smarty.net/manual/en/language.function.math.php {math}
- * (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
*
* @param array $params parameters
diff --git a/src/Smarty.php b/src/Smarty.php
index bf1d3fad..18ff5262 100644
--- a/src/Smarty.php
+++ b/src/Smarty.php
@@ -40,7 +40,6 @@ use Smarty\Runtime\TplFunctionRuntime;
* Smarty mailing list. Send a blank e-mail to
* smarty-discussion-subscribe@googlegroups.com
*
- * @link https://www.smarty.net/
* @author Monte Ohrt <monte at ohrt dot com>
* @author Uwe Tews <uwe dot tews at gmail dot com>
* @author Rodney Rehm
@@ -731,7 +730,6 @@ class Smarty extends \Smarty\TemplateBase {
*
* @return $this
* @throws \Smarty\Exception
- * @link https://www.smarty.net/docs/en/api.register.plugin.tpl
*
* @api Smarty::registerPlugin()
*/
@@ -758,7 +756,6 @@ class Smarty extends \Smarty\TemplateBase {
* @param string $name name of template tag
*
* @return array|null
- * @link https://www.smarty.net/docs/en/api.unregister.plugin.tpl
*
* @api Smarty::unregisterPlugin()
*/
@@ -776,7 +773,6 @@ class Smarty extends \Smarty\TemplateBase {
* @param string $name name of template tag
*
* @return $this
- * @link https://www.smarty.net/docs/en/api.unregister.plugin.tpl
*
* @api Smarty::unregisterPlugin()
*/
@@ -850,7 +846,6 @@ class Smarty extends \Smarty\TemplateBase {
*
* @return $this
* @throws Exception if $callback is not callable
- * @link https://www.smarty.net/docs/en/api.register.default.plugin.handler.tpl
*
* @api Smarty::registerDefaultPluginHandler()
*
@@ -1254,7 +1249,6 @@ class Smarty extends \Smarty\TemplateBase {
*
* @return int number of cache files deleted
* @throws \Smarty\Exception
- * @link https://www.smarty.net/docs/en/api.clear.cache.tpl
*
* @api Smarty::clearCache()
*/
@@ -1274,7 +1268,6 @@ class Smarty extends \Smarty\TemplateBase {
* @param string $type resource type
*
* @return int number of cache files deleted
- * @link https://www.smarty.net/docs/en/api.clear.all.cache.tpl
*
* @api Smarty::clearAllCache()
*/
@@ -1291,7 +1284,6 @@ class Smarty extends \Smarty\TemplateBase {
*
* @return int number of template files deleted
* @throws \Smarty\Exception
- * @link https://www.smarty.net/docs/en/api.clear.compiled.template.tpl
*
* @api Smarty::clearCompiledTemplate()
*/
@@ -1805,7 +1797,6 @@ class Smarty extends \Smarty\TemplateBase {
* @return bool
* @throws \Smarty\Exception
* @api Smarty::loadFilter()
- * @link https://www.smarty.net/docs/en/api.load.filter.tpl
*
* @deprecated since 5.0
*/
@@ -1857,7 +1848,6 @@ class Smarty extends \Smarty\TemplateBase {
* @throws \Smarty\Exception
* @api Smarty::unloadFilter()
*
- * @link https://www.smarty.net/docs/en/api.unload.filter.tpl
*
* @deprecated since 5.0
*/
@@ -1901,7 +1891,6 @@ class Smarty extends \Smarty\TemplateBase {
* @param Base $resource_handler
*
* @return Smarty
- * @link https://www.smarty.net/docs/en/api.register.cacheresource.tpl
*
* @api Smarty::registerCacheResource()
*
@@ -1924,7 +1913,6 @@ class Smarty extends \Smarty\TemplateBase {
*
* @return Smarty
* @api Smarty::unregisterCacheResource()
- * @link https://www.smarty.net/docs/en/api.unregister.cacheresource.tpl
*
* @deprecated since 5.0
*
@@ -1958,7 +1946,6 @@ class Smarty extends \Smarty\TemplateBase {
*
* @return TemplateBase
* @throws \Smarty\Exception
- * @link https://www.smarty.net/docs/en/api.register.filter.tpl
*
* @api Smarty::registerFilter()
*/
@@ -2020,7 +2007,6 @@ class Smarty extends \Smarty\TemplateBase {
* @throws \Smarty\Exception
* @api Smarty::unregisterFilter()
*
- * @link https://www.smarty.net/docs/en/api.unregister.filter.tpl
*
*/
public function unregisterFilter($type, $name) {
@@ -2203,7 +2189,6 @@ class Smarty extends \Smarty\TemplateBase {
* @return bool cache status
* @throws \Exception
* @throws \Smarty\Exception
- * @link https://www.smarty.net/docs/en/api.is.cached.tpl
*
* @api Smarty::isCached()
*/
diff --git a/src/Template.php b/src/Template.php
index 8bb5370f..fcb0f58d 100644
--- a/src/Template.php
+++ b/src/Template.php
@@ -604,7 +604,6 @@ class Template extends TemplateBase {
* @return bool cache status
* @throws \Exception
* @throws \Smarty\Exception
- * @link https://www.smarty.net/docs/en/api.is.cached.tpl
*
* @api Smarty::isCached()
*/
diff --git a/src/TemplateBase.php b/src/TemplateBase.php
index 4dab470f..0b7f212c 100644
--- a/src/TemplateBase.php
+++ b/src/TemplateBase.php
@@ -75,7 +75,6 @@ abstract class TemplateBase extends Data {
*
* @return \Smarty|\Smarty\Template
* @throws \Smarty\Exception
- * @link https://www.smarty.net/docs/en/api.register.object.tpl
*
* @api Smarty::registerObject()
*/
@@ -116,7 +115,6 @@ abstract class TemplateBase extends Data {
*
* @return TemplateBase
* @api Smarty::unregisterObject()
- * @link https://www.smarty.net/docs/en/api.unregister.object.tpl
*
*/
public function unregisterObject($object_name) {
@@ -179,7 +177,6 @@ abstract class TemplateBase extends Data {
* @return Data data object
* @throws Exception
* @api Smarty::createData()
- * @link https://www.smarty.net/docs/en/api.create.data.tpl
*
*/
public function createData(Data $parent = null, $name = null) {
@@ -222,7 +219,6 @@ abstract class TemplateBase extends Data {
*
* @return object
* @throws \Smarty\Exception if no such object is found
- * @link https://www.smarty.net/docs/en/api.get.registered.object.tpl
*
* @api Smarty::getRegisteredObject()
*/
@@ -319,7 +315,6 @@ abstract class TemplateBase extends Data {
* @return TemplateBase
* @throws \Smarty\Exception
* @api Smarty::registerClass()
- * @link https://www.smarty.net/docs/en/api.register.class.tpl
*
*/
public function registerClass($class_name, $class_impl) {
@@ -380,7 +375,6 @@ abstract class TemplateBase extends Data {
* @param \Smarty\Resource\BasePlugin $resource_handler instance of Smarty\Resource\BasePlugin
*
* @return \Smarty\Smarty|\Smarty\Template
- * @link https://www.smarty.net/docs/en/api.register.resource.tpl
*
* @api Smarty::registerResource()
*/
@@ -397,7 +391,6 @@ abstract class TemplateBase extends Data {
*
* @return TemplateBase
* @api Smarty::unregisterResource()
- * @link https://www.smarty.net/docs/en/api.unregister.resource.tpl
*
*/
public function unregisterResource($type) {