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

Bug #5421 Documentation for Image_Graph constructor wrong
Submitted: 2005-09-15 20:01 UTC
From: james dot kilbride at gd-ais dot com Assigned: nosey
Status: Closed Package: Image_Graph
PHP Version: 5.0.5 OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2005-09-15 20:01 UTC] james dot kilbride at gd-ais dot com
Description: ------------ Documentation on Image_Graph constructor states: 1) Create a new driver with the following parameters: 'driver' - The driver type, can be any of 'gd', 'jpg', 'png' or 'svg' (more to come) - if omitted the default is 'gd' 'width' - The width of the graph 'height' - The height of the graph An example of this usage: $Graph =& Image_Graph::factory('graph', arrray(array('width' => 400, 'height' => 300, 'driver' => 'jpg'))); arrray is incorrect, should be array. Expected result: ---------------- Fix Arrray to array.

Comments

 [2005-09-15 20:35 UTC] nosey
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Well, soon to be fixed in CVS :)