프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |