Suggestion: support for all types of vars in config files

From: Date: Thu, 04 Oct 2001 15:38:22 +0000
Subject: Suggestion: support for all types of vars in config files
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1599@lists.php.net to get a copy of this message
Hi! Upto now, we have only string and numeric support in config files. I would suggest to include support for arrays (and all other types btw). Example: I want to have the menu structure in config files... How to do it? One possibility is to support serialized and/or wddx_serialized content in config files. Of course, this would include a syntax change. In order to stay as backwards compatible as possible, I suggest: varname = """serial: [serialzed content] """ varname = """wddx: [wddxed content] """ What do you think? If there's not too much negative feedback, I will provide a patch. Don't conform! IkKampfCaspar75

« previous php.smarty.general (#1599) next »