Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.7.0

Request #3747 getOptions() method
Submitted: 2005-03-08 14:37 UTC Modified: 2005-03-26 12:39 UTC
From: scottmattocks Assigned: cellog
Status: Closed Package: PEAR_PackageFileManager
PHP Version: Irrelevant OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-08 14:37 UTC] scottmattocks
Description: ------------ I am requesting that the next feature release include a getOptions method that will return the values already set by the package.xml file that was passed in setOptions. This will make implementing a front end for PackageFileManager (http://www.crisscott.com/download.php?file=16) easier and more helpful for the end user. Reproduce code: --------------- $pfm->setOptions(array('pathtopackagefile' => '/path/package.xml')); var_dump($pfm->getOptions()); Expected result: ---------------- array ( 'baseinstalldir' => '/some/dir', 'summary' => 'This is a package...' 'description' => 'A long description....' .... );

Comments

 [2005-03-12 23:47 UTC] cellog
I have coded this, but have not tested it, so you will see it soon, probably within the next 2 weeks or so
 [2005-03-26 12:39 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.