PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Graph » Bug #5421

Documentation for Image_Graph constructor wrong

Details

Submitted2005-09-15 20:01 UTC
Fromjames dot kilbride at gd-ais dot com
Assignednosey
StatusClosed
PackageImage_Graph
PHP Version5.0.5
OSN/A
Roadmaps(Not assigned)

Comments

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