Config::parseConfig()
| From: | Paul Smith | Date: | Wed, 14 Apr 2004 21:04:10 +0000 |
| Subject: | Config::parseConfig() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11844@lists.php.net to get a copy of this message | ||
Hey PEAR people,
I want to instantiate Config and use the parseConfig() method to take some XML (which was created with Config) and turn it into an array with toArray(). The XML data isn't in a file, I've got it in a string.
The parseConfig() method expects a file path as it's first argument when you're using the XML datasource type, and I don't see any obvious way of getting Config to just use my string. Anybody run into this before me? Am I missing something?
--P
--
Paul Smith
Foundry Zero
919.834.5433
www.foundryzero.com