Re: DB_DataObject without .ini

From: Date: Fri, 06 Feb 2004 07:10:01 +0000
Subject: Re: DB_DataObject without .ini
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10524@lists.php.net to get a copy of this message
Hallo Marcos Neves, Marcos Neves wrote: > I want to use the class created by the generator.php but > don't want to use .ini to hold conf, I want to implement > this at the code. I don't want an "on the fly" > DB_DataObject, but just "iniless" > > What methods( and how ) I need to implement at the class, > and what I need to startup at the $options array. Just give $GLOBALS['_DB_DATAOBJECT']['INI'] and $GLOBALS['_DB_DATAOBJECT']['LINKS']) the desired values by an include script. These Arrays are set in DB_DataObject::databaseStructure() by performing a parse_ini_file() oround line 1479. -- mit freundlichen Grüßen | Jabber: m@tacker.dyndns.org m.tacker | ICQ: 9170 9561

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