PHP Класс PHPUnit_Extensions_Database_DataSet_TableFilter, qcodo

Автор: Mike Lively ([email protected])
Наследование: extends PHPUnit_Extensions_Database_DataSet_AbstractTable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$originalTable PHPUnit_Extensions_Database_DataSet_ITable The table meta data being decorated.

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

Метод Описание
__construct ( PHPUnit_Extensions_Database_DataSet_ITable $originalTable, array $excludeColumns = [] ) Creates a new table filter using the original table
addExcludeColumns ( array $excludeColumns ) Sets the columns to exclude from the table.
addIncludeColumns ( array $includeColumns ) Sets the columns to include in the table.
clearExcludeColumns ( ) Clears the included columns.
clearIncludeColumns ( ) Clears the included columns.
getRowCount ( ) : integer Returns the number of rows in this table.
getValue ( integer $row, integer $column ) Returns the value for the given column on the given row.

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

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

Creates a new table filter using the original table
public __construct ( PHPUnit_Extensions_Database_DataSet_ITable $originalTable, array $excludeColumns = [] )
$originalTable PHPUnit_Extensions_Database_DataSet_ITable PHPUnit_Extensions_Database_DataSet_ITable
$excludeColumns array Array @deprecated, use the set* methods instead.

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

Sets the columns to exclude from the table.
public addExcludeColumns ( array $excludeColumns )
$excludeColumns array

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

Sets the columns to include in the table.
public addIncludeColumns ( array $includeColumns )
$includeColumns array

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

Clears the included columns.
public clearExcludeColumns ( )

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

Clears the included columns.
public clearIncludeColumns ( )

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

Returns the number of rows in this table.
public getRowCount ( ) : integer
Результат integer

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

Returns the value for the given column on the given row.
public getValue ( integer $row, integer $column )
$row integer
$column integer

Описание свойств

$originalTable защищенное свойство

The table meta data being decorated.
protected PHPUnit_Extensions_Database_DataSet_ITable $originalTable
Результат PHPUnit_Extensions_Database_DataSet_ITable