class NullRow extends Row (View source)

NullRow Object

The null row object is used to add an empty row to the datatable.

Methods

__construct( int $numOfCols)

Creates a new NullRow object

mixed
getColumnValue( int $columnIndex)

Returns a column value from the Row.

from  Row
array
jsonSerialize()

Custom json serialization of the row.

from  Row

Details

at line 30
__construct( int $numOfCols)

Creates a new NullRow object

Parameters

int $numOfCols Number of null columns to create.

Exceptions

InvalidConfigValue

in Row at line 57
mixed getColumnValue( int $columnIndex)

Returns a column value from the Row.

Parameters

int $columnIndex Column value to fetch from the row.

Return Value

mixed

Exceptions

InvalidColumnIndex

in Row at line 72
array jsonSerialize()

Custom json serialization of the row.

Return Value

array