Re: Re: DataObject compatibility

From: Date: Fri, 27 Jun 2003 09:50:19 +0000
Subject: Re: Re: DataObject compatibility
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6281@lists.php.net to get a copy of this message
Also, can I import more than one config and schema file when I dynamically include other modules/plugins that have their class and schema files in different directories?
from what I remember, it may be possible, the ini file has some settings for grabbing database.ini files from various places for different databases, but I dont think it's documented anywhere.. - my be worth reading through the code and searching for parse_ini_file. Regards Alan
2. Is it possible to add class properties that are not treated as table fields? I often like to have getGrid(), getForm() etc. methods that use a common template object that is stored in a property, like:
[...]
as long as they dont overlap the table field names, they should be ignored in general. I do this alot, - tricks like overriding fetch, to do some extra calculation.. etc. is quite nice..
It is indeed, I´ve demonstrated the package to some folks at work here today, and when I ran the generator and showed the output, several jaws dropped to the ground ;-) CU Markus
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.general (#6281) next »