PHP Class PHPUnit_Extensions_Database_DataSet_DefaultTable, qcodo

Author: Mike Lively ([email protected])
Inheritance: extends PHPUnit_Extensions_Database_DataSet_AbstractTable
Show file Open project: qcodo/qcodo Class Usage Examples

Public Methods

Method Description
__construct ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $tableMetaData ) Creates a new table object using the given $tableMetaData
addRow ( array $values = [] ) Adds a row to the table with optional values.
addTableRows ( PHPUnit_Extensions_Database_DataSet_ITable $table ) Adds the rows in the passed table to the current table.
setValue ( integer $row, string $column, mixed $value ) Sets the specified column of the specied row to the specified value.

Method Details

__construct() public method

Creates a new table object using the given $tableMetaData
public __construct ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $tableMetaData )
$tableMetaData PHPUnit_Extensions_Database_DataSet_ITableMetaData

addRow() public method

Adds a row to the table with optional values.
public addRow ( array $values = [] )
$values array

addTableRows() public method

Adds the rows in the passed table to the current table.
public addTableRows ( PHPUnit_Extensions_Database_DataSet_ITable $table )
$table PHPUnit_Extensions_Database_DataSet_ITable

setValue() public method

Sets the specified column of the specied row to the specified value.
public setValue ( integer $row, string $column, mixed $value )
$row integer
$column string
$value mixed