Property | Type | Description | |
---|---|---|---|
$excludeColumns | Array | The columns to exclude from the data set. | |
$excludeTables | Array | The tables to exclude from the data set. | |
$includeColumns | Array | The columns to exclude from the data set. | |
$includeTables | Array | The tables to exclude from the data set. | |
$originalDataSet | PHPUnit_Extensions_Database_DataSet_IDataSet | The dataset being decorated. |
Method | Description | |
---|---|---|
__construct ( PHPUnit_Extensions_Database_DataSet_IDataSet $originalDataSet, array $excludeTables = [] ) | Creates a new filtered data set. | |
addExcludeTables ( array $tables ) | Adds tables to be included in the data set. | |
addIncludeTables ( array $tables ) | Adds tables to be included in the data set. | |
setExcludeColumnsForTable ( string $table, array $columns ) | Adds columns to include in the data set for the given table. | |
setIncludeColumnsForTable ( string $table, array $columns ) | Adds columns to include in the data set for the given table. |
Method | 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. |
public __construct ( PHPUnit_Extensions_Database_DataSet_IDataSet $originalDataSet, array $excludeTables = [] ) | ||
$originalDataSet | PHPUnit_Extensions_Database_DataSet_IDataSet | |
$excludeTables | array | @deprecated use set* methods instead. |
public addExcludeTables ( array $tables ) | ||
$tables | array |
public addIncludeTables ( array $tables ) | ||
$tables | array |
protected createIterator ( boolean $reverse = FALSE ) : PHPUnit_Extensions_Database_DataSet_ITableIterator | ||
$reverse | boolean | |
return | PHPUnit_Extensions_Database_DataSet_ITableIterator |
public setExcludeColumnsForTable ( string $table, array $columns ) | ||
$table | string | |
$columns | array |
public setIncludeColumnsForTable ( string $table, array $columns ) | ||
$table | string | |
$columns | array |
protected Array $excludeColumns | ||
return | Array |
protected Array $excludeTables | ||
return | Array |
protected Array $includeColumns | ||
return | Array |
protected Array $includeTables | ||
return | Array |