smarty template engine
Saturday, October 11, 2008  
download | documentation | faq | forum | mailing lists | changelog | contribs 


search for in the  


get_config_vars

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.

Beispiel 13-1. 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);
?>



 

credits 

Smarty Copyright © 2002-2008
New Digital Group, Inc.

All rights reserved.