diff --git a/5.x/404.html b/5.x/404.html index f3cfe23d1..908b1f76a 100644 --- a/5.x/404.html +++ b/5.x/404.html @@ -1127,6 +1127,27 @@ +
  • + + + + + is_array + + + + +
  • + + + + + + + + + +
  • @@ -1274,6 +1295,27 @@ +
  • + + + + + raw + + + + +
  • + + + + + + + + + +
  • diff --git a/5.x/api/basics/index.html b/5.x/api/basics/index.html index 8a4d1a7eb..8e02bc696 100644 --- a/5.x/api/basics/index.html +++ b/5.x/api/basics/index.html @@ -1138,6 +1138,27 @@ +
  • + + + + + is_array + + + + +
  • + + + + + + + + + +
  • @@ -1285,6 +1306,27 @@ +
  • + + + + + raw + + + + +
  • + + + + + + + + + +
  • diff --git a/5.x/api/caching/basics/index.html b/5.x/api/caching/basics/index.html index 4cc3b864e..65e71afad 100644 --- a/5.x/api/caching/basics/index.html +++ b/5.x/api/caching/basics/index.html @@ -1138,6 +1138,27 @@ +
  • + + + + + is_array + + + + +
  • + + + + + + + + + +
  • @@ -1285,6 +1306,27 @@ +
  • + + + + + raw + + + + +
  • + + + + + + + + + +
  • diff --git a/5.x/api/caching/custom-storage-layers/index.html b/5.x/api/caching/custom-storage-layers/index.html index e34381c51..c6decf8ef 100644 --- a/5.x/api/caching/custom-storage-layers/index.html +++ b/5.x/api/caching/custom-storage-layers/index.html @@ -1138,6 +1138,27 @@ +
  • + + + + + is_array + + + + +
  • + + + + + + + + + +
  • @@ -1285,6 +1306,27 @@ +
  • + + + + + raw + + + + +
  • + + + + + + + + + +
  • diff --git a/5.x/api/caching/multiple-caches-per-template/index.html b/5.x/api/caching/multiple-caches-per-template/index.html index 90ea77034..3930ee5fd 100644 --- a/5.x/api/caching/multiple-caches-per-template/index.html +++ b/5.x/api/caching/multiple-caches-per-template/index.html @@ -1138,6 +1138,27 @@ +
  • + + + + + is_array + + + + +
  • + + + + + + + + + +
  • @@ -1285,6 +1306,27 @@ +
  • + + + + + raw + + + + +
  • + + + + + + + + + +
  • diff --git a/5.x/api/configuring/index.html b/5.x/api/configuring/index.html index 039a54c6e..54191096e 100644 --- a/5.x/api/configuring/index.html +++ b/5.x/api/configuring/index.html @@ -1138,6 +1138,27 @@ +
  • + + + + + is_array + + + + +
  • + + + + + + + + + +
  • @@ -1285,6 +1306,27 @@ +
  • + + + + + raw + + + + +
  • + + + + + + + + + +
  • @@ -3467,32 +3509,35 @@

    Setting the template path

    <?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
     

    Setting the path for compiled templates

    Smarty compiles templates to native PHP to be as fast as possible. @@ -3573,6 +3618,31 @@

    Enabling auto-escaping

    Enable auto-escaping for HTML as follows:

    $smarty->setEscapeHtml(true);
     

    +

    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'}
    +

    Disabling compile check

    By default, Smarty tests to see if the current template has changed since the last time @@ -3580,8 +3650,8 @@

    Disabling compile check

    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);
    +
    <?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 @@

    Charset encoding

    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 40becf86d..f392e56be 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 42712e431..573d9f3a3 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 90f25aa40..0aec12c15 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 60f081566..f181ac6ce 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 7b3e11eaa..294a4199d 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 7c0f00966..574b2e4f2 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 020d7c2a2..d3f8db23d 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 30a93f3f5..7566b9882 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 9c05fb3fd..afb622569 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 4ea1c7016..c91a95729 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 4200f370e..bce3fb5cd 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 14dce4829..c68c6fad2 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 a9b9730f6..93ecbc360 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 a3f209b8e..50e177b50 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 9f7af6e83..c7f7d81fa 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 8fc757ae7..be7060e9c 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 ccd511ab5..9057fcae0 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 @@

    Streams

    template.

    {$foo:bar}
     
    +

    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 2e40c7155..a79ad478f 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 636790b18..5d2123fb6 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 48eb14d48..c193227e3 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 332c28758..b03268274 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 37379828d..2508d037f 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 cec84c98b..b95f1d072 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 1a92fd338..569cc6a82 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 f68afa71c..9cff86575 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 ab4677cb2..d2a7374ee 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 @@

    Examples

    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.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    OperatorAlternatesSyntax ExampleMeaningPHP Equivalent
    ==eq$a eq $bequals==
    !=ne, neq$a neq $bnot equals!=
    >gt$a gt $bgreater than>
    <lt$a lt $bless than<
    >=gte, ge$a ge $bgreater than or equal>=
    <=lte, le$a le $bless than or equal<=
    ===$a === 0check for identity===
    !notnot $anegation (unary)!
    %mod$a mod $bmodulo%
    is [not] div by$a is not div by 4divisible 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 $bgrouping 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 $bexists in arrayin_array($a, $b)
    is [not] in$a is not in $bdoes 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 5a596d917..a9c8bf8d5 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 0b7913083..d33806ea3 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 ed5b80892..3fd78c211 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 @@

    Examples

    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 c246ae86b..766461ca6 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 aab5580fa..f1df19139 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 97ce3ab84..7950b5eef 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 be55005d9..862071a2b 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 2239a023b..e42f4c544 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 57f5ba0de..667411de0 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 1b749eaee..5648dc56b 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 @@

    Attributes

    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 04abcc44f..db3e204e4 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 360aad3b2..b6f200202 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 637e1c445..abdfa58d9 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 d21a2a365..2fcf1bb14 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 d4ec1ead2..feb4bed46 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 fe0e0902e..9043e167e 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 @@