interface DataInterface (View source)

The Data Interface

Methods

bind(mixed $values, boolean $replaceNulls = false)

Bind the data into this object.

boolean
isNull()

Is this object empty?

boolean
notNull()

Is this object has properties?

array
dump()

Dump all data as array

mixed
__get(string $name)

__get

Details

at line line 26
Data bind(mixed $values, boolean $replaceNulls = false)

Bind the data into this object.

Parameters

mixed $values The data array or object.
boolean $replaceNulls Replace null or not.

Return Value

Data Return self to support chaining.

at line line 33
boolean isNull()

Is this object empty?

Return Value

boolean

at line line 40
boolean notNull()

Is this object has properties?

Return Value

boolean

at line line 47
array dump()

Dump all data as array

Return Value

array

at line line 56
mixed __get(string $name)

__get

Parameters

string $name

Return Value

mixed