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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2006-12-24 20:01 UTC
Package:
Bug Type:
Summary:
From: bruno at lustosa dot net
New email:
PHP Version: Package Version: OS:

 

 [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.