Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #4708 There is no Image_Graph::addData()
Submitted: 2005-06-29 20:13 UTC
From: bruno at lustosa dot net Assigned: mj
Status: Closed Package: Documentation
PHP Version: Irrelevant OS: Linux
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 : 10 + 15 = ?

 
 [2005-06-29 20:13 UTC] bruno at lustosa dot net
Description: ------------ Using Image_Graph 0.4.0 and Image_Color 1.0.1 I can include Graph.php ok, no error at all. I can create a new Image_Graph object also. However, I can't call addData(). Moreover, I grepped the whole tree (from the .tgz) for addData and didn't find anything. Reproduce code: --------------- This was just a small test, as I was still experimenting with the class. <?php require_once 'Image/Graph.php'; $data = Array(1,10,5,8,7,15,2,7); $graph =& new Image_Graph( 200, 100 ); $graph->addData( $data ); ?> Expected result: ---------------- Anything, except: "Fatal error: Call to undefined function: adddata()"

Comments

 [2005-09-09 19:57 UTC] at php dot net
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.