PHP Class PHPUnit_Extensions_Database_DataSet_DefaultDataSet, qcodo

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

Protected Properties

Свойство Type Description
$tables array An array of ITable objects.

Méthodes publiques

Méthode Description
__construct ( array $tables = [] ) Creates a new dataset using the given tables.
addTable ( PHPUnit_Extensions_Database_DataSet_ITable $table ) Adds a table to the dataset.

Méthodes protégées

Méthode Description
createIterator ( boolean $reverse = FALSE ) : PHPUnit_Extensions_Database_DataSet_ITableIterator Creates an iterator over the tables in the data set. If $reverse is true a reverse iterator will be returned.

Method Details

__construct() public méthode

Creates a new dataset using the given tables.
public __construct ( array $tables = [] )
$tables array

addTable() public méthode

Adds a table to the dataset.
public addTable ( PHPUnit_Extensions_Database_DataSet_ITable $table )
$table PHPUnit_Extensions_Database_DataSet_ITable

createIterator() protected méthode

Creates an iterator over the tables in the data set. If $reverse is true a reverse iterator will be returned.
protected createIterator ( boolean $reverse = FALSE ) : PHPUnit_Extensions_Database_DataSet_ITableIterator
$reverse boolean
Résultat PHPUnit_Extensions_Database_DataSet_ITableIterator

Property Details

$tables protected_oe property

An array of ITable objects.
protected array $tables
Résultat array