Re: [SMARTY] Extending the Config_File

From: Date: Thu, 03 Nov 2005 16:24:08 +0000
Subject: Re: [SMARTY] Extending the Config_File
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13146@lists.php.net to get a copy of this message
No one? Am Samstag, 29. Oktober 2005 15:17 schrieb Erik Schmitt: > 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 > -- Mit freundlichen Grüßen Erik Schmitt e-novum Software GmbH D-49078 Osnabrück, Heger-Tor-Wall 19, Fon.: +49 (0)541 440 630 - 25, Fax: - 26 E-Mail: mailto:e.schmitt@e-novum.com --------------------------------------------------------- e-novum ® Software ist eine gute Wahl für Ihr E-Business. Finden Sie heraus warum. www.redpart.de / www.e-novum.com

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