DB_DataObject without ini file
| From: | Didier Galland | Date: | Tue, 07 Feb 2006 15:58:05 +0000 |
| Subject: | DB_DataObject without ini file | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22840@lists.php.net to get a copy of this message | ||
Is it possible to use DB_DataObject without the dbname.ini file ? I'm using the same auto generated files for multiple databases (more than 50 indeed with exactly the same structure) and I have to copy the dbname.ini file for each one (and at each structure modification). I solved the probleme for dbname.links.ini by overriding the links() method in each class file but can't figure out how to do a similar thing for database structure.
Maybe it would be possible to use the derivedHookFunctions() or derivedHookVar() in this goal, but I don't know how...
Thanks,
Didier
___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com