프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$databaseConnection | PHPUnit_Extensions_Database_DB_IDatabaseConnection | The database connection this dataset is using. | |
$tables | array | An array of ITable objects. |
메소드 | 설명 | |
---|---|---|
__construct ( PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection ) | Creates a new dataset using the given database connection. | |
addTable ( $tableName, $query = NULL ) | ||
getTable ( string $tableName ) : PHPUnit_Extensions_Database_DB_Table | Returns a table object for the given table. | |
getTableNames ( ) : Array | Returns a list of table names for the database |
메소드 | 설명 | |
---|---|---|
createIterator ( boolean $reverse = FALSE ) : PHPUnit_Extensions_Database_DB_TableIterator | Creates an iterator over the tables in the data set. If $reverse is true a reverse iterator will be returned. |
public __construct ( PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection ) | ||
$databaseConnection | PHPUnit_Extensions_Database_DB_IDatabaseConnection |
protected createIterator ( boolean $reverse = FALSE ) : PHPUnit_Extensions_Database_DB_TableIterator | ||
$reverse | boolean | |
리턴 | PHPUnit_Extensions_Database_DB_TableIterator |
public getTableNames ( ) : Array | ||
리턴 | Array |
protected PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection | ||
리턴 | PHPUnit_Extensions_Database_DB_IDatabaseConnection |