Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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 |
public __construct ( array $tables, boolean $reverse = FALSE ) | ||
$tables | array | |
$reverse | boolean |
public current ( ) : PHPUnit_Extensions_Database_DataSet_ITable | ||
Результат | PHPUnit_Extensions_Database_DataSet_ITable |
public getTable ( ) : PHPUnit_Extensions_Database_DataSet_ITable | ||
Результат | PHPUnit_Extensions_Database_DataSet_ITable |
public getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData | ||
Результат | PHPUnit_Extensions_Database_DataSet_ITableMetaData |
protected bool $reverse | ||
Результат | boolean |