PHP Класс PhpBench\Report\Generator\Table\Row

Наследование: extends ArrayObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getFormatParams ( ) : array Return the format parameters.
getNames ( ) : string[] Return the cell names for this row.
merge ( array $array ) : Row Merge the given array into the data of this row and return a new instance.
newInstance ( array $array ) : Row Return a new instance of row using the given data but keeping the metadata for this row.
offsetGet ( $offset ) Return the given offset.
setFormatParams ( $formatParams ) Set the format parameters.

Описание методов

getFormatParams() публичный Метод

Return the format parameters.
public getFormatParams ( ) : array
Результат array

getNames() публичный Метод

Return the cell names for this row.
public getNames ( ) : string[]
Результат string[]

merge() публичный Метод

Merge the given array into the data of this row and return a new instance.
public merge ( array $array ) : Row
$array array
Результат Row

newInstance() публичный Метод

Return a new instance of row using the given data but keeping the metadata for this row.
public newInstance ( array $array ) : Row
$array array
Результат Row

offsetGet() публичный Метод

Throw an exception if the given offset does not exist.
public offsetGet ( $offset )

setFormatParams() публичный Метод

Set the format parameters.
public setFormatParams ( $formatParams )