PHP Class PHPUnit_Extensions_Database_DataSet_DefaultTableIterator, qcodo

Author: Mike Lively ([email protected])
Inheritance: implements PHPUnit_Extensions_Database_DataSet_ITableIterator
Afficher le fichier Open project: qcodo/qcodo

Protected Properties

Свойство Type Description
$reverse boolean If this property is true then the tables will be iterated in reverse order.
$tables Array An array of tables in the iterator.

Méthodes publiques

Méthode Description
__construct ( array $tables, boolean $reverse = FALSE ) Creates a new default table iterator object.
current ( ) : PHPUnit_Extensions_Database_DataSet_ITable Returns the current table.
getTable ( ) : PHPUnit_Extensions_Database_DataSet_ITable Returns the current table.
getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData Returns the current table's meta data.
key ( ) : string Returns the name of the current table.
next ( ) advances to the next element.
rewind ( ) Rewinds to the first element
valid ( ) : boolean Returns true if the current index is valid

Method Details

__construct() public méthode

Creates a new default table iterator object.
public __construct ( array $tables, boolean $reverse = FALSE )
$tables array
$reverse boolean

current() public méthode

Returns the current table.
public current ( ) : PHPUnit_Extensions_Database_DataSet_ITable
Résultat PHPUnit_Extensions_Database_DataSet_ITable

getTable() public méthode

Returns the current table.
public getTable ( ) : PHPUnit_Extensions_Database_DataSet_ITable
Résultat PHPUnit_Extensions_Database_DataSet_ITable

getTableMetaData() public méthode

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

key() public méthode

Returns the name of the current table.
public key ( ) : string
Résultat string

next() public méthode

advances to the next element.
public next ( )

rewind() public méthode

Rewinds to the first element
public rewind ( )

valid() public méthode

Returns true if the current index is valid
public valid ( ) : boolean
Résultat boolean

Property Details

$reverse protected_oe property

If this property is true then the tables will be iterated in reverse order.
protected bool $reverse
Résultat boolean

$tables protected_oe property

An array of tables in the iterator.
protected Array $tables
Résultat Array