What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
get_config_vars
array get_config_vars(string varname);
Gibt den Wert der Konfigurationsvariable zurück. Wenn kein Parameter übergeben wird, wird ein Array aller geladenen Variablen zurück gegeben.
Example 13.15. get_config_vars
<?php // variable 'foo' zuweisen $foo = $smarty->get_config_vars('foo'); // alle geladenen konfigurationsvariablen zuweisen $config_vars = $smarty->get_config_vars(); // ausgabe print_r($config_vars); ?>