is_array
+Return true if the variable passed to it is an array.
+From 20fee78cf15446bf27243b13d65ddc4195a825ec Mon Sep 17 00:00:00 2001
From: Simon Wisselink getTemplateDir()
to retrieve the configured paths.
<?php
// set a single directory where the config files are stored
-$smarty->setTemplateDir('./config');
+$smarty->setTemplateDir('./templates');
-// set multiple directories where config files are stored
-$smarty->setTemplateDir(['./config', './config_2', './config_3']);
+// set multiple directories where templates are stored
+$smarty->setTemplateDir(['./templates', './templates_2', './templates_3']);
-// add directory where config files are stored to the current list of dirs
-$smarty->addTemplateDir('./config_1');
+// add directory where templates files are stored to the current list of dirs
+$smarty->addTemplateDir('./templates_1');
// add multiple directories to the current list of dirs
$smarty->addTemplateDir([
- './config_2',
- './config_3',
+ './templates_2',
+ './templates_3',
]);
// chaining of method calls
-$smarty->setTemplateDir('./config')
- ->addTemplateDir('./config_1')
- ->addTemplateDir('./config_2');
+$smarty->setTemplateDir('./templates')
+ ->addTemplateDir('./templates_1')
+ ->addTemplateDir('./templates_2');
-// get all directories where config files are stored
-$template_dirs = $smarty->getTemplateDir();
-var_dump($template_dirs); // array
-
-// get directory identified by key
-$template_dir = $smarty->getTemplateDir(0);
-var_dump($template_dir); // string
+// insert a template dir before exising template dirs
+$smarty->prependTemplateDir('./more_important_templates')
+
+// get all directories where config files are stored
+$template_dirs = $smarty->getTemplateDir();
+var_dump($template_dirs); // array
+
+// get directory identified by key
+$template_dir = $smarty->getTemplateDir(0);
+var_dump($template_dir); // string
Smarty compiles templates to native PHP to be as fast as possible.
@@ -3573,6 +3618,31 @@ It's like Smarty magically adds |escape
to every variable you use o
Enable auto-escaping for HTML as follows:
+When auto-escaping is enabled, the |escape
modifier's default mode (html
) has no effect,
+to avoid double-escaping. It is possible to force it with the force
mode.
+Other modes (htmlall
, url
, urlpathinfo
, quotes
, javascript
) may be used
+with the result you might expect, without double-escaping.
Even when auto-escaping is enabled, you might want to display the content of a variable without
+escaping it. To do so, use the |raw
modifier.
Examples (with auto-escaping enabled): +
{* these three statements are identical *}
+{$myVar}
+{$myVar|escape}
+{$myVar|escape:'html'}
+
+{* no double-escaping on these statements *}
+{$var|escape:'htmlall'}
+{$myVar|escape:'url'}
+{$myVar|escape:'urlpathinfo'}
+{$myVar|escape:'quotes'}
+{$myVar|escape:'javascript'}
+
+{* no escaping at all *}
+{$myVar|raw}
+
+{* force double-escaping *}
+{$myVar|escape:'force'}
+
By default, Smarty tests to see if the current template has changed since the last time @@ -3580,8 +3650,8 @@ it was compiled. If it has changed, it recompiles that template.
Once an application is put into production, this compile-check step is usually no longer needed and the extra checks can significantly hurt performance. Be sure to disable compile checking on production for maximum performance. -
<?php
-$smarty->setCompileCheck(\Smarty\Smarty::COMPILECHECK_OFF);
+
If caching
is enabled and compile-check is
enabled, then the cache files will get regenerated if an involved
@@ -3605,13 +3675,13 @@ strongly encouraged.
Smarty\'s internals and core plugins are truly UTF-8 compatible since
Smarty 3.1.
-<?php
-
-// use japanese character encoding
-mb_internal_charset('EUC-JP');
-
-\Smarty\Smarty::$_CHARSET = 'EUC-JP';
-$smarty = new \Smarty\Smarty();
+<?php
+
+// use japanese character encoding
+mb_internal_charset('EUC-JP');
+
+\Smarty\Smarty::$_CHARSET = 'EUC-JP';
+$smarty = new \Smarty\Smarty();
diff --git a/5.x/api/extending/block-tags/index.html b/5.x/api/extending/block-tags/index.html
index 40becf86..f392e56b 100644
--- a/5.x/api/extending/block-tags/index.html
+++ b/5.x/api/extending/block-tags/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/extending/extensions/index.html b/5.x/api/extending/extensions/index.html
index 42712e43..573d9f3a 100644
--- a/5.x/api/extending/extensions/index.html
+++ b/5.x/api/extending/extensions/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/extending/introduction/index.html b/5.x/api/extending/introduction/index.html
index 90f25aa4..0aec12c1 100644
--- a/5.x/api/extending/introduction/index.html
+++ b/5.x/api/extending/introduction/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/extending/modifiers/index.html b/5.x/api/extending/modifiers/index.html
index 60f08156..f181ac6c 100644
--- a/5.x/api/extending/modifiers/index.html
+++ b/5.x/api/extending/modifiers/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/extending/tags/index.html b/5.x/api/extending/tags/index.html
index 7b3e11ea..294a4199 100644
--- a/5.x/api/extending/tags/index.html
+++ b/5.x/api/extending/tags/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/filters/output-filters/index.html b/5.x/api/filters/output-filters/index.html
index 7c0f0096..574b2e4f 100644
--- a/5.x/api/filters/output-filters/index.html
+++ b/5.x/api/filters/output-filters/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/filters/postfilters/index.html b/5.x/api/filters/postfilters/index.html
index 020d7c2a..d3f8db23 100644
--- a/5.x/api/filters/postfilters/index.html
+++ b/5.x/api/filters/postfilters/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/filters/prefilters/index.html b/5.x/api/filters/prefilters/index.html
index 30a93f3f..7566b988 100644
--- a/5.x/api/filters/prefilters/index.html
+++ b/5.x/api/filters/prefilters/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/inheritance/index.html b/5.x/api/inheritance/index.html
index 9c05fb3f..afb62256 100644
--- a/5.x/api/inheritance/index.html
+++ b/5.x/api/inheritance/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/rendering/index.html b/5.x/api/rendering/index.html
index 4ea1c701..c91a9572 100644
--- a/5.x/api/rendering/index.html
+++ b/5.x/api/rendering/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/resources/index.html b/5.x/api/resources/index.html
index 4200f370..bce3fb5c 100644
--- a/5.x/api/resources/index.html
+++ b/5.x/api/resources/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/security/index.html b/5.x/api/security/index.html
index 14dce482..c68c6fad 100644
--- a/5.x/api/security/index.html
+++ b/5.x/api/security/index.html
@@ -1136,6 +1136,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1283,6 +1304,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/variables/assigning/index.html b/5.x/api/variables/assigning/index.html
index a9b9730f..93ecbc36 100644
--- a/5.x/api/variables/assigning/index.html
+++ b/5.x/api/variables/assigning/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/variables/config-files/index.html b/5.x/api/variables/config-files/index.html
index a3f209b8..50e177b5 100644
--- a/5.x/api/variables/config-files/index.html
+++ b/5.x/api/variables/config-files/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/variables/objects/index.html b/5.x/api/variables/objects/index.html
index 9f7af6e8..c7f7d81f 100644
--- a/5.x/api/variables/objects/index.html
+++ b/5.x/api/variables/objects/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/variables/static-class-methods/index.html b/5.x/api/variables/static-class-methods/index.html
index 8fc757ae..be7060e9 100644
--- a/5.x/api/variables/static-class-methods/index.html
+++ b/5.x/api/variables/static-class-methods/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/api/variables/streams/index.html b/5.x/api/variables/streams/index.html
index ccd511ab..9057fcae 100644
--- a/5.x/api/variables/streams/index.html
+++ b/5.x/api/variables/streams/index.html
@@ -1138,6 +1138,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1285,6 +1306,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3303,6 +3345,8 @@
template.
+NB. Support for using streams to call variables is deprecated since Smarty v5.1 and will be removed
+in a future version.
See also Template Resources
diff --git a/5.x/appendixes/tips/index.html b/5.x/appendixes/tips/index.html
index 2e40c715..a79ad478 100644
--- a/5.x/appendixes/tips/index.html
+++ b/5.x/appendixes/tips/index.html
@@ -1132,6 +1132,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1279,6 +1300,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/appendixes/troubleshooting/index.html b/5.x/appendixes/troubleshooting/index.html
index 636790b1..5d2123fb 100644
--- a/5.x/appendixes/troubleshooting/index.html
+++ b/5.x/appendixes/troubleshooting/index.html
@@ -1132,6 +1132,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1279,6 +1300,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/chapter-debugging-console/index.html b/5.x/designers/chapter-debugging-console/index.html
index 48eb14d4..c193227e 100644
--- a/5.x/designers/chapter-debugging-console/index.html
+++ b/5.x/designers/chapter-debugging-console/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/config-files/index.html b/5.x/designers/config-files/index.html
index 332c2875..b0326827 100644
--- a/5.x/designers/config-files/index.html
+++ b/5.x/designers/config-files/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-basic-syntax/index.html b/5.x/designers/language-basic-syntax/index.html
index 37379828..2508d037 100644
--- a/5.x/designers/language-basic-syntax/index.html
+++ b/5.x/designers/language-basic-syntax/index.html
@@ -1154,6 +1154,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1301,6 +1322,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-basic-syntax/language-escaping/index.html b/5.x/designers/language-basic-syntax/language-escaping/index.html
index cec84c98..b95f1d07 100644
--- a/5.x/designers/language-basic-syntax/language-escaping/index.html
+++ b/5.x/designers/language-basic-syntax/language-escaping/index.html
@@ -1193,6 +1193,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1340,6 +1361,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-basic-syntax/language-syntax-attributes/index.html b/5.x/designers/language-basic-syntax/language-syntax-attributes/index.html
index 1a92fd33..569cc6a8 100644
--- a/5.x/designers/language-basic-syntax/language-syntax-attributes/index.html
+++ b/5.x/designers/language-basic-syntax/language-syntax-attributes/index.html
@@ -1193,6 +1193,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1340,6 +1361,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-basic-syntax/language-syntax-comments/index.html b/5.x/designers/language-basic-syntax/language-syntax-comments/index.html
index f68afa71..9cff8657 100644
--- a/5.x/designers/language-basic-syntax/language-syntax-comments/index.html
+++ b/5.x/designers/language-basic-syntax/language-syntax-comments/index.html
@@ -1193,6 +1193,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1340,6 +1361,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-basic-syntax/language-syntax-operators/index.html b/5.x/designers/language-basic-syntax/language-syntax-operators/index.html
index ab4677cb..d2a7374e 100644
--- a/5.x/designers/language-basic-syntax/language-syntax-operators/index.html
+++ b/5.x/designers/language-basic-syntax/language-syntax-operators/index.html
@@ -612,6 +612,15 @@
+
+
+
+
+
+ List
+
+
+
@@ -1220,6 +1229,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1367,6 +1397,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3373,6 +3424,15 @@
+
+
+
+
+
+ List
+
+
+
@@ -3432,6 +3492,135 @@ focused on presentation. If you find your template syntax getting too
complex, it may be a good idea to move the bits that do not deal
explicitly with presentation to PHP by way of plugins or modifiers.
+List
+The following is a list of recognized operators, which must be
+separated from surrounding elements by spaces. Note that items listed in
+[brackets] are optional. PHP equivalents are shown where applicable.
+
+
+
+Operator
+Alternates
+Syntax Example
+Meaning
+PHP Equivalent
+
+
+
+
+==
+eq
+$a eq $b
+equals
+==
+
+
+!=
+ne, neq
+$a neq $b
+not equals
+!=
+
+
+>
+gt
+$a gt $b
+greater than
+>
+
+
+<
+lt
+$a lt $b
+less than
+<
+
+
+>=
+gte, ge
+$a ge $b
+greater than or equal
+>=
+
+
+<=
+lte, le
+$a le $b
+less than or equal
+<=
+
+
+===
+
+$a === 0
+check for identity
+===
+
+
+!
+not
+not $a
+negation (unary)
+!
+
+
+%
+mod
+$a mod $b
+modulo
+%
+
+
+is [not] div by
+
+$a is not div by 4
+divisible by
+$a % $b == 0
+
+
+is [not] even
+
+$a is not even
+[not] an even number (unary)
+$a % 2 == 0
+
+
+is [not] even by
+
+$a is not even by $b
+grouping level [not] even
+($a / $b) % 2 == 0
+
+
+is [not] odd
+
+$a is not odd
+[not] an odd number (unary)
+$a % 2 != 0
+
+
+is [not] odd by
+
+$a is not odd by $b
+[not] an odd grouping
+($a / $b) % 2 != 0
+
+
+is in
+
+$a is in $b
+exists in array
+in_array($a, $b)
+
+
+is [not] in
+
+$a is not in $b
+does not exist in array
+!in_array($a, $b)
+
+
+
Ternary
You can use the ?:
(or ternary) operator to test one expression and present the value
of the second or third expression, based on the result of the test.
diff --git a/5.x/designers/language-basic-syntax/language-syntax-quotes/index.html b/5.x/designers/language-basic-syntax/language-syntax-quotes/index.html
index 5a596d91..a9c8bf8d 100644
--- a/5.x/designers/language-basic-syntax/language-syntax-quotes/index.html
+++ b/5.x/designers/language-basic-syntax/language-syntax-quotes/index.html
@@ -1193,6 +1193,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1340,6 +1361,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-basic-syntax/language-syntax-tags/index.html b/5.x/designers/language-basic-syntax/language-syntax-tags/index.html
index 0b791308..d33806ea 100644
--- a/5.x/designers/language-basic-syntax/language-syntax-tags/index.html
+++ b/5.x/designers/language-basic-syntax/language-syntax-tags/index.html
@@ -1193,6 +1193,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1340,6 +1361,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-basic-syntax/language-syntax-variables/index.html b/5.x/designers/language-basic-syntax/language-syntax-variables/index.html
index ed5b8089..3fd78c21 100644
--- a/5.x/designers/language-basic-syntax/language-syntax-variables/index.html
+++ b/5.x/designers/language-basic-syntax/language-syntax-variables/index.html
@@ -1193,6 +1193,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1340,6 +1361,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3438,10 +3480,6 @@ the \$dollar syntax and are instead referenced with surrounding
Object chaining:
{$object->method1($x)->method2($y)}
-
-Direct PHP function access:
-
-{time()}
Note
diff --git a/5.x/designers/language-builtin-functions/index.html b/5.x/designers/language-builtin-functions/index.html
index c246ae86..766461ca 100644
--- a/5.x/designers/language-builtin-functions/index.html
+++ b/5.x/designers/language-builtin-functions/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-append/index.html b/5.x/designers/language-builtin-functions/language-function-append/index.html
index aab5580f..f1df1913 100644
--- a/5.x/designers/language-builtin-functions/language-function-append/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-append/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-assign/index.html b/5.x/designers/language-builtin-functions/language-function-assign/index.html
index 97ce3ab8..7950b5ee 100644
--- a/5.x/designers/language-builtin-functions/language-function-assign/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-assign/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-block/index.html b/5.x/designers/language-builtin-functions/language-function-block/index.html
index be55005d..862071a2 100644
--- a/5.x/designers/language-builtin-functions/language-function-block/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-block/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-call/index.html b/5.x/designers/language-builtin-functions/language-function-call/index.html
index 2239a023..e42f4c54 100644
--- a/5.x/designers/language-builtin-functions/language-function-call/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-call/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-capture/index.html b/5.x/designers/language-builtin-functions/language-function-capture/index.html
index 57f5ba0d..667411de 100644
--- a/5.x/designers/language-builtin-functions/language-function-capture/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-capture/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-config-load/index.html b/5.x/designers/language-builtin-functions/language-function-config-load/index.html
index 1b749eae..5648dc56 100644
--- a/5.x/designers/language-builtin-functions/language-function-config-load/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-config-load/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3395,11 +3437,6 @@
No
The name of the section to load
-
-scope
-no
-How the scope of the loaded variables are treated, which must be one of local, parent or global. local means variables are loaded into the local template context. parent means variables are loaded into both the local context and the parent template that called it. global means variables are available to all templates.
-
Examples
diff --git a/5.x/designers/language-builtin-functions/language-function-debug/index.html b/5.x/designers/language-builtin-functions/language-function-debug/index.html
index 04abcc44..db3e204e 100644
--- a/5.x/designers/language-builtin-functions/language-function-debug/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-debug/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-extends/index.html b/5.x/designers/language-builtin-functions/language-function-extends/index.html
index 360aad3b..b6f20020 100644
--- a/5.x/designers/language-builtin-functions/language-function-extends/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-extends/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-for/index.html b/5.x/designers/language-builtin-functions/language-function-for/index.html
index 637e1c44..abdfa58d 100644
--- a/5.x/designers/language-builtin-functions/language-function-for/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-for/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-foreach/index.html b/5.x/designers/language-builtin-functions/language-function-foreach/index.html
index d21a2a36..2fcf1bb1 100644
--- a/5.x/designers/language-builtin-functions/language-function-foreach/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-foreach/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-function/index.html b/5.x/designers/language-builtin-functions/language-function-function/index.html
index d4ec1ead..feb4bed4 100644
--- a/5.x/designers/language-builtin-functions/language-function-function/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-function/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/5.x/designers/language-builtin-functions/language-function-if/index.html b/5.x/designers/language-builtin-functions/language-function-if/index.html
index fe0e0902..9043e167 100644
--- a/5.x/designers/language-builtin-functions/language-function-if/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-if/index.html
@@ -1142,6 +1142,27 @@
+
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1289,6 +1310,27 @@
+
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1970,15 +2012,6 @@
- -
-
-
- Qualifiers
-
-
-
-
-
-
@@ -3339,15 +3372,6 @@
- -
-
-
- Qualifiers
-
-
-
-
-
-
@@ -3376,124 +3400,8 @@
{if}
statements in Smarty have much the same flexibility as PHP
if statements, with a few added features for the
template engine. Every {if}
must be paired with a matching {/if}
.
-{else}
and {elseif}
are also permitted. All PHP conditionals and
-functions are recognized, such as ||, or, &&, and,
-is_array(), etc.
-The following is a list of recognized qualifiers, which must be
-separated from surrounding elements by spaces. Note that items listed in
-[brackets] are optional. PHP equivalents are shown where applicable.
-Qualifiers
-
-
-
-Qualifier
-Alternates
-Syntax Example
-Meaning
-PHP Equivalent
-
-
-
-
-==
-eq
-$a eq $b
-equals
-==
-
-
-!=
-ne, neq
-$a neq $b
-not equals
-!=
-
-
->
-gt
-$a gt $b
-greater than
->
-
-
-<
-lt
-$a lt $b
-less than
-<
-
-
->=
-gte, ge
-$a ge $b
-greater than or equal
->=
-
-
-<=
-lte, le
-$a le $b
-less than or equal
-<=
-
-
-===
-
-$a === 0
-check for identity
-===
-
-
-!
-not
-not $a
-negation (unary)
-!
-
-
-%
-mod
-$a mod $b
-modulo
-%
-
-
-is [not] div by
-
-$a is not div by 4
-divisible by
-$a % $b == 0
-
-
-is [not] even
-
-$a is not even
-[not] an even number (unary)
-$a % 2 == 0
-
-
-is [not] even by
-
-$a is not even by $b
-grouping level [not] even
-($a / $b) % 2 == 0
-
-
-is [not] odd
-
-$a is not odd
-[not] an odd number (unary)
-$a % 2 != 0
-
-
-is [not] odd by
-
-$a is not odd by $b
-[not] an odd grouping
-($a / $b) % 2 != 0
-
-
-
+{else}
and {elseif}
are also permitted. All operators are recognized, such as ==,
+||, or, &&, and, etc and you can use modifiers as functions, such as is_array().
Examples
{if $name eq 'Fred'}
Welcome Sir.
diff --git a/5.x/designers/language-builtin-functions/language-function-include/index.html b/5.x/designers/language-builtin-functions/language-function-include/index.html
index 4af711db..d22d8fe0 100644
--- a/5.x/designers/language-builtin-functions/language-function-include/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-include/index.html
@@ -1142,6 +1142,27 @@
+ -
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-insert/index.html b/5.x/designers/language-builtin-functions/language-function-insert/index.html
index ec9da584..f592d91f 100644
--- a/5.x/designers/language-builtin-functions/language-function-insert/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-insert/index.html
@@ -1137,6 +1137,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1284,6 +1305,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-ldelim/index.html b/5.x/designers/language-builtin-functions/language-function-ldelim/index.html
index a2796a6a..eb34d70c 100644
--- a/5.x/designers/language-builtin-functions/language-function-ldelim/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-ldelim/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-literal/index.html b/5.x/designers/language-builtin-functions/language-function-literal/index.html
index b60a65c8..e0d74b3a 100644
--- a/5.x/designers/language-builtin-functions/language-function-literal/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-literal/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-nocache/index.html b/5.x/designers/language-builtin-functions/language-function-nocache/index.html
index ebc89065..f4b23d0c 100644
--- a/5.x/designers/language-builtin-functions/language-function-nocache/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-nocache/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-section/index.html b/5.x/designers/language-builtin-functions/language-function-section/index.html
index 407a9509..88bcdb77 100644
--- a/5.x/designers/language-builtin-functions/language-function-section/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-section/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-setfilter/index.html b/5.x/designers/language-builtin-functions/language-function-setfilter/index.html
index 9af348bd..eb39651b 100644
--- a/5.x/designers/language-builtin-functions/language-function-setfilter/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-setfilter/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-strip/index.html b/5.x/designers/language-builtin-functions/language-function-strip/index.html
index 21d93d63..c10ce3ad 100644
--- a/5.x/designers/language-builtin-functions/language-function-strip/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-strip/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-builtin-functions/language-function-while/index.html b/5.x/designers/language-builtin-functions/language-function-while/index.html
index 5505c5e2..86de0278 100644
--- a/5.x/designers/language-builtin-functions/language-function-while/index.html
+++ b/5.x/designers/language-builtin-functions/language-function-while/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -2159,15 +2201,6 @@
- -
-
-
- Qualifiers
-
-
-
-
-
-
@@ -3339,15 +3372,6 @@
- -
-
-
- Qualifiers
-
-
-
-
-
-
@@ -3376,123 +3400,8 @@
{while}
loops in Smarty have much the same flexibility as PHP
while statements, with a few added features for
the template engine. Every {while}
must be paired with a matching
-{/while}
. All PHP conditionals and functions are recognized, such as
-||, or, &&, and, is_array(), etc.
-The following is a list of recognized qualifiers, which must be
-separated from surrounding elements by spaces. Note that items listed in
-[brackets] are optional. PHP equivalents are shown where applicable.
-Qualifiers
-
-
-
-Qualifier
-Alternates
-Syntax Example
-Meaning
-PHP Equivalent
-
-
-
-
-==
-eq
-$a eq $b
-equals
-==
-
-
-!=
-ne, neq
-$a neq $b
-not equals
-!=
-
-
->
-gt
-$a gt $b
-greater than
->
-
-
-<
-lt
-$a lt $b
-less than
-<
-
-
->=
-gte, ge
-$a ge $b
-greater than or equal
->=
-
-
-<=
-lte, le
-$a le $b
-less than or equal
-<=
-
-
-===
-
-$a === 0
-check for identity
-===
-
-
-!
-not
-not $a
-negation (unary)
-!
-
-
-%
-mod
-$a mod $b
-modulo
-%
-
-
-is [not] div by
-
-$a is not div by 4
-divisible by
-$a % $b == 0
-
-
-is [not] even
-
-$a is not even
-[not] an even number (unary)
-$a % 2 == 0
-
-
-is [not] even by
-
-$a is not even by $b
-grouping level [not] even
-($a / $b) % 2 == 0
-
-
-is [not] odd
-
-$a is not odd
-[not] an odd number (unary)
-$a % 2 != 0
-
-
-is [not] odd by
-
-$a is not odd by $b
-[not] an odd grouping
-($a / $b) % 2 != 0
-
-
-
+{/while}
. All operators are recognized, such as ==,
+||, or, &&, and, etc and you can use modifiers as functions, such as is_array().
Examples
{while $foo > 0}
{$foo--}
diff --git a/5.x/designers/language-combining-modifiers/index.html b/5.x/designers/language-combining-modifiers/index.html
index 46f5ccfc..15fbc3a2 100644
--- a/5.x/designers/language-combining-modifiers/index.html
+++ b/5.x/designers/language-combining-modifiers/index.html
@@ -1132,6 +1132,27 @@
+ -
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1279,6 +1300,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/index.html b/5.x/designers/language-custom-functions/index.html
index fb8164a0..f58a41e3 100644
--- a/5.x/designers/language-custom-functions/index.html
+++ b/5.x/designers/language-custom-functions/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-counter/index.html b/5.x/designers/language-custom-functions/language-function-counter/index.html
index 30febb51..6c25fe67 100644
--- a/5.x/designers/language-custom-functions/language-function-counter/index.html
+++ b/5.x/designers/language-custom-functions/language-function-counter/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-cycle/index.html b/5.x/designers/language-custom-functions/language-function-cycle/index.html
index cda195b2..b8b03133 100644
--- a/5.x/designers/language-custom-functions/language-function-cycle/index.html
+++ b/5.x/designers/language-custom-functions/language-function-cycle/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-debug/index.html b/5.x/designers/language-custom-functions/language-function-debug/index.html
index 4d5cc718..a81b78c2 100644
--- a/5.x/designers/language-custom-functions/language-function-debug/index.html
+++ b/5.x/designers/language-custom-functions/language-function-debug/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-eval/index.html b/5.x/designers/language-custom-functions/language-function-eval/index.html
index 6bac0d46..78f2a798 100644
--- a/5.x/designers/language-custom-functions/language-function-eval/index.html
+++ b/5.x/designers/language-custom-functions/language-function-eval/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-fetch/index.html b/5.x/designers/language-custom-functions/language-function-fetch/index.html
index 8e8d360b..601ca17f 100644
--- a/5.x/designers/language-custom-functions/language-function-fetch/index.html
+++ b/5.x/designers/language-custom-functions/language-function-fetch/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-html-checkboxes/index.html b/5.x/designers/language-custom-functions/language-function-html-checkboxes/index.html
index b5f203b5..1138fb98 100644
--- a/5.x/designers/language-custom-functions/language-function-html-checkboxes/index.html
+++ b/5.x/designers/language-custom-functions/language-function-html-checkboxes/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-html-image/index.html b/5.x/designers/language-custom-functions/language-function-html-image/index.html
index 1bb65871..9b22622a 100644
--- a/5.x/designers/language-custom-functions/language-function-html-image/index.html
+++ b/5.x/designers/language-custom-functions/language-function-html-image/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-html-options/index.html b/5.x/designers/language-custom-functions/language-function-html-options/index.html
index a2da7a18..fa8cac7b 100644
--- a/5.x/designers/language-custom-functions/language-function-html-options/index.html
+++ b/5.x/designers/language-custom-functions/language-function-html-options/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-html-radios/index.html b/5.x/designers/language-custom-functions/language-function-html-radios/index.html
index c0868180..7bab3a7d 100644
--- a/5.x/designers/language-custom-functions/language-function-html-radios/index.html
+++ b/5.x/designers/language-custom-functions/language-function-html-radios/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-html-select-date/index.html b/5.x/designers/language-custom-functions/language-function-html-select-date/index.html
index 45b87b2f..1cd3f37a 100644
--- a/5.x/designers/language-custom-functions/language-function-html-select-date/index.html
+++ b/5.x/designers/language-custom-functions/language-function-html-select-date/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-html-select-time/index.html b/5.x/designers/language-custom-functions/language-function-html-select-time/index.html
index 7f089da0..09cb19d1 100644
--- a/5.x/designers/language-custom-functions/language-function-html-select-time/index.html
+++ b/5.x/designers/language-custom-functions/language-function-html-select-time/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-html-table/index.html b/5.x/designers/language-custom-functions/language-function-html-table/index.html
index dcf70d73..8f16746b 100644
--- a/5.x/designers/language-custom-functions/language-function-html-table/index.html
+++ b/5.x/designers/language-custom-functions/language-function-html-table/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-mailto/index.html b/5.x/designers/language-custom-functions/language-function-mailto/index.html
index 714dc52d..1e0f6427 100644
--- a/5.x/designers/language-custom-functions/language-function-mailto/index.html
+++ b/5.x/designers/language-custom-functions/language-function-mailto/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-math/index.html b/5.x/designers/language-custom-functions/language-function-math/index.html
index 8275610d..11261fc2 100644
--- a/5.x/designers/language-custom-functions/language-function-math/index.html
+++ b/5.x/designers/language-custom-functions/language-function-math/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-custom-functions/language-function-textformat/index.html b/5.x/designers/language-custom-functions/language-function-textformat/index.html
index c16ca069..9401a93f 100644
--- a/5.x/designers/language-custom-functions/language-function-textformat/index.html
+++ b/5.x/designers/language-custom-functions/language-function-textformat/index.html
@@ -1142,6 +1142,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1289,6 +1310,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/index.html b/5.x/designers/language-modifiers/index.html
index 1f72e2d5..38662e08 100644
--- a/5.x/designers/language-modifiers/index.html
+++ b/5.x/designers/language-modifiers/index.html
@@ -1211,6 +1211,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-capitalize/index.html b/5.x/designers/language-modifiers/language-modifier-capitalize/index.html
index b2e07f6b..53852000 100644
--- a/5.x/designers/language-modifiers/language-modifier-capitalize/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-capitalize/index.html
@@ -1211,6 +1211,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-cat/index.html b/5.x/designers/language-modifiers/language-modifier-cat/index.html
index 86739a6b..49e7d962 100644
--- a/5.x/designers/language-modifiers/language-modifier-cat/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-cat/index.html
@@ -1211,6 +1211,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-count-characters/index.html b/5.x/designers/language-modifiers/language-modifier-count-characters/index.html
index 6d71823a..39c3229e 100644
--- a/5.x/designers/language-modifiers/language-modifier-count-characters/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-count-characters/index.html
@@ -1211,6 +1211,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-count-paragraphs/index.html b/5.x/designers/language-modifiers/language-modifier-count-paragraphs/index.html
index 674f3015..bf4742aa 100644
--- a/5.x/designers/language-modifiers/language-modifier-count-paragraphs/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-count-paragraphs/index.html
@@ -1202,6 +1202,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1349,6 +1370,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-count-sentences/index.html b/5.x/designers/language-modifiers/language-modifier-count-sentences/index.html
index 0326879e..e0102a8a 100644
--- a/5.x/designers/language-modifiers/language-modifier-count-sentences/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-count-sentences/index.html
@@ -1202,6 +1202,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1349,6 +1370,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-count-words/index.html b/5.x/designers/language-modifiers/language-modifier-count-words/index.html
index beee864c..dbe9c07c 100644
--- a/5.x/designers/language-modifiers/language-modifier-count-words/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-count-words/index.html
@@ -1202,6 +1202,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1349,6 +1370,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-count/index.html b/5.x/designers/language-modifiers/language-modifier-count/index.html
index 8095dcb5..9c7c5174 100644
--- a/5.x/designers/language-modifiers/language-modifier-count/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-count/index.html
@@ -1202,6 +1202,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1349,6 +1370,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-date-format/index.html b/5.x/designers/language-modifiers/language-modifier-date-format/index.html
index f740ec7d..5dd5ba95 100644
--- a/5.x/designers/language-modifiers/language-modifier-date-format/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-date-format/index.html
@@ -1220,6 +1220,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1367,6 +1388,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-debug-print-var/index.html b/5.x/designers/language-modifiers/language-modifier-debug-print-var/index.html
index d742ebae..3daf4fcc 100644
--- a/5.x/designers/language-modifiers/language-modifier-debug-print-var/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-debug-print-var/index.html
@@ -1202,6 +1202,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1349,6 +1370,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-default/index.html b/5.x/designers/language-modifiers/language-modifier-default/index.html
index 1afed6b7..8b6c40a6 100644
--- a/5.x/designers/language-modifiers/language-modifier-default/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-default/index.html
@@ -1211,6 +1211,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-escape/index.html b/5.x/designers/language-modifiers/language-modifier-escape/index.html
index b6bc8090..ba903cc0 100644
--- a/5.x/designers/language-modifiers/language-modifier-escape/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-escape/index.html
@@ -1211,6 +1211,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -3479,9 +3521,9 @@ its
html
.
{* email address mangled *}
<a href="mailto:{$EmailAddress|escape:'hex'}">{$EmailAddress|escape:'mail'}</a>
-See also escaping smarty parsing,
+
See also auto-escaping, escaping smarty parsing,
{mailto}
and the obfuscating email
-addresses page.
+addresses pages.
diff --git a/5.x/designers/language-modifiers/language-modifier-from-charset/index.html b/5.x/designers/language-modifiers/language-modifier-from-charset/index.html
index eef154f5..539d3fae 100644
--- a/5.x/designers/language-modifiers/language-modifier-from-charset/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-from-charset/index.html
@@ -1193,6 +1193,27 @@
+ -
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1340,6 +1361,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-indent/index.html b/5.x/designers/language-modifiers/language-modifier-indent/index.html
index d698c246..881f7c07 100644
--- a/5.x/designers/language-modifiers/language-modifier-indent/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-indent/index.html
@@ -12,7 +12,7 @@
-
+
@@ -1211,6 +1211,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-is_array/index.html b/5.x/designers/language-modifiers/language-modifier-is_array/index.html
new file mode 100644
index 00000000..facd2988
--- /dev/null
+++ b/5.x/designers/language-modifiers/language-modifier-is_array/index.html
@@ -0,0 +1,3457 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
is_array - Smarty Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to content
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/5.x/designers/language-modifiers/language-modifier-isset/index.html b/5.x/designers/language-modifiers/language-modifier-isset/index.html
index 6cbd5288..50d22641 100644
--- a/5.x/designers/language-modifiers/language-modifier-isset/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-isset/index.html
@@ -9,7 +9,7 @@
-
+
@@ -1142,6 +1142,27 @@
+
+
+ -
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1340,6 +1361,27 @@
+ -
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-join/index.html b/5.x/designers/language-modifiers/language-modifier-join/index.html
index 6156aa24..b09ba659 100644
--- a/5.x/designers/language-modifiers/language-modifier-join/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-join/index.html
@@ -1144,6 +1144,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-json-encode/index.html b/5.x/designers/language-modifiers/language-modifier-json-encode/index.html
index 15db3582..8e341426 100644
--- a/5.x/designers/language-modifiers/language-modifier-json-encode/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-json-encode/index.html
@@ -1144,6 +1144,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1358,6 +1379,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-lower/index.html b/5.x/designers/language-modifiers/language-modifier-lower/index.html
index e08c629c..314ec258 100644
--- a/5.x/designers/language-modifiers/language-modifier-lower/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-lower/index.html
@@ -1144,6 +1144,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1349,6 +1370,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-nl2br/index.html b/5.x/designers/language-modifiers/language-modifier-nl2br/index.html
index d806ca0a..e1bc3100 100644
--- a/5.x/designers/language-modifiers/language-modifier-nl2br/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-nl2br/index.html
@@ -12,7 +12,7 @@
-
+
@@ -1144,6 +1144,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1349,6 +1370,27 @@
+
-
+
+
+
+
+ raw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/5.x/designers/language-modifiers/language-modifier-noprint/index.html b/5.x/designers/language-modifiers/language-modifier-noprint/index.html
index 3e4ca3d9..60592f39 100644
--- a/5.x/designers/language-modifiers/language-modifier-noprint/index.html
+++ b/5.x/designers/language-modifiers/language-modifier-noprint/index.html
@@ -1144,6 +1144,27 @@
+
-
+
+
+
+
+ is_array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1340,6 +1361,27 @@
+
-
+