Graph: ezcGraphArrayDataSet
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphArrayDataSet
|
Dataset class which receives arrays and use them as a base for datasets. [
source]
Parents
ezcGraphDataSet
|
--ezcGraphArrayDataSet
Method Summary
|
public void |
__construct(
$data )
Constructor |
|
public int |
count(
)
Returns the number of elements in this dataset |
|
protected void |
createFromArray(
[$data = array()] )
setData |
Methods
__construct
void __construct(
array|Iterator
$data )
Constructor
Parameters
| Name |
Type |
Description |
$data |
array|Iterator |
Array or Iterator containing the data |
count
int count(
)
Returns the number of elements in this dataset
createFromArray
void createFromArray(
[array|Iterator
$data = array()] )
setData
Can handle data provided through an array or iterator.
Parameters
| Name |
Type |
Description |
$data |
array|Iterator |
|
Last updated: Wed, 28 Nov 2007