Function smarty_function_config_load
Smarty {config_load} function plugin
Type: function
Name: config_load
Purpose: load config file vars
Package: Smarty\plugins
Author: Monte Ohrt
Author: messju mohr (added use of resources)
Link: {config_load} (Smarty online manual)
Located at lass/smarty/plugins/function.config_load.php
Author: Monte Ohrt
Author: messju mohr
Link: {config_load} (Smarty online manual)
Located at lass/smarty/plugins/function.config_load.php
array |
$params |
<pre><span class="php-keyword1">array</span>(<span class="php-quote">'file'</span> => required config <span class="php-keyword2">file</span> name, <span class="php-quote">'section'</span> => optional config <span class="php-keyword2">file</span> section to load <span class="php-quote">'scope'</span> => local/parent/<span class="php-keyword1">global</span> <span class="php-quote">'global'</span> => overrides scope, setting to parent <span class="php-keyword1">if</span> <span class="php-keyword1">true</span>)</pre> |
|
& $smarty |