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

Request #3747 getOptions() method
Submitted: 2005-03-08 19:37 UTC
From: scottmattocks Assigned: cellog
Status: Closed Package: PEAR_PackageFileManager
PHP Version: Irrelevant OS: N/A
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 25 - 11 = ?

 
 [2005-03-08 19: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-13 04: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 17: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.