PHP Class PHPUnit_Extensions_Database_DataSet_AbstractTable, qcodo

Author: Mike Lively ([email protected])
Inheritance: implements PHPUnit_Extensions_Database_DataSet_ITable
Afficher le fichier Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Свойство Type Description
$data array A 2-dimensional array containing the data for this table.
$tableMetaData PHPUnit_Extensions_Database_DataSet_ITableMetaData

Méthodes publiques

Méthode Description
__toString ( )
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.

Méthodes protégées

Méthode Description
rowToString ( array $row )
setTableMetaData ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $tableMetaData ) Sets the metadata for this table.

Method Details

__toString() public méthode

public __toString ( )

assertEquals() public méthode

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

getRow() public méthode

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

getRowCount() public méthode

Returns the number of rows in this table.
public getRowCount ( ) : integer
Résultat integer

getTableMetaData() public méthode

Returns the table's meta data.
public getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData
Résultat PHPUnit_Extensions_Database_DataSet_ITableMetaData

getValue() public méthode

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

rowToString() protected méthode

protected rowToString ( array $row )
$row array

setTableMetaData() protected méthode

Sets the metadata for this table.
Deprecation:
protected setTableMetaData ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $tableMetaData )
$tableMetaData PHPUnit_Extensions_Database_DataSet_ITableMetaData

Property Details

$data protected_oe property

A 2-dimensional array containing the data for this table.
protected array $data
Résultat array

$tableMetaData protected_oe property

protected PHPUnit_Extensions_Database_DataSet_ITableMetaData $tableMetaData
Résultat PHPUnit_Extensions_Database_DataSet_ITableMetaData