PHP Interface PHPUnit_Extensions_Database_DataSet_ITable, qcodo

Author: Mike Lively ([email protected])
ファイルを表示 Open project: qcodo/qcodo Interface Usage Examples

Public Methods

Method Description
assertEquals ( PHPUnit_Extensions_Database_DataSet_ITable $other ) Asserts that the given table matches this table.
getRow ( integer $row ) : array Returns the an associative array keyed by columns for the given row.
getRowCount ( ) : integer Returns the number of rows in this table.
getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData Returns the table's meta data.
getValue ( integer $row, integer $column ) Returns the value for the given column on the given row.

Method Details

assertEquals() public method

Asserts that the given table matches this table.
public assertEquals ( PHPUnit_Extensions_Database_DataSet_ITable $other )
$other PHPUnit_Extensions_Database_DataSet_ITable

getRow() public method

Returns the an associative array keyed by columns for the given row.
public getRow ( integer $row ) : array
$row integer
return array

getRowCount() public method

Returns the number of rows in this table.
public getRowCount ( ) : integer
return integer

getTableMetaData() public method

Returns the table's meta data.
public getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData
return PHPUnit_Extensions_Database_DataSet_ITableMetaData

getValue() public method

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