interface DataSetInterface (View source)

The DataSet Interface

Methods

bind(array $dataset)

Bind an array contains multiple data into this object.

boolean
isNull()

Is this data set empty?

boolean
notNull()

Is this data set has properties?

Data[]
dump(bool $recursive = false)

Dump all data as array.

Details

at line line 25
Data bind(array $dataset)

Bind an array contains multiple data into this object.

Parameters

array $dataset The data array or object.

Return Value

Data Return self to support chaining.

at line line 32
boolean isNull()

Is this data set empty?

Return Value

boolean True if empty.

at line line 39
boolean notNull()

Is this data set has properties?

Return Value

boolean True is exists.

at line line 48
Data[] dump(bool $recursive = false)

Dump all data as array.

Parameters

bool $recursive

Return Value

Data[]