[SMARTY] Extending the Config_File

Erik Schmitt <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Organization e-novum GmbH
Message-ID <[email protected]>
Hello,

I write an Add-on that needs multidimensional arrays
extracted from a config-file with no simple key-value 
structure, like provided by a typical Smarty config-file.

I would like Smarty to be able to parse this different-structured
config-file, compile it and store it in templates_c; it should 
benefit from the capabilities of Smarty.

Would it make sense to extend Config_File, overwrite
the parse-method and tell Smarty to use Config_File_MyNewOne 
while parsing my different-structured config-file?
Would I have to overwrite other methods?

Is there any other apprach that makes more sense?


Thanks!

Erik

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.