PHP Class PHPUnit_Extensions_Database_Operation_RowBased, qcodo
To create a row based operation you must create two functions. The first
one, buildOperationQuery(), must return a query that will be used to create
a prepared statement. The second one, buildOperationArguments(), should
return an array containing arguments for each row.
Afficher le fichier
Open project: qcodo/qcodo
Protected Properties
Méthodes publiques
Méthode |
Description |
|
execute ( PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection, PHPUnit_Extensions_Database_DataSet_IDataSet $dataSet ) |
|
|
Méthodes protégées
Méthode |
Description |
|
buildOperationArguments ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $databaseTableMetaData, PHPUnit_Extensions_Database_DataSet_ITable $table, $row ) |
|
|
buildOperationQuery ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $databaseTableMetaData, PHPUnit_Extensions_Database_DataSet_ITable $table, PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection ) |
|
|
buildPreparedColumnArray ( $columns, PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection ) |
|
|
Method Details
buildOperationArguments()
abstract protected méthode
abstract protected buildOperationArguments ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $databaseTableMetaData, PHPUnit_Extensions_Database_DataSet_ITable $table, $row ) |
$databaseTableMetaData |
PHPUnit_Extensions_Database_DataSet_ITableMetaData |
|
$table |
PHPUnit_Extensions_Database_DataSet_ITable |
|
buildOperationQuery()
abstract protected méthode
abstract protected buildOperationQuery ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $databaseTableMetaData, PHPUnit_Extensions_Database_DataSet_ITable $table, PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection ) |
$databaseTableMetaData |
PHPUnit_Extensions_Database_DataSet_ITableMetaData |
|
$table |
PHPUnit_Extensions_Database_DataSet_ITable |
|
$connection |
PHPUnit_Extensions_Database_DB_IDatabaseConnection |
|
buildPreparedColumnArray()
protected méthode
protected buildPreparedColumnArray ( $columns, PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection ) |
$connection |
PHPUnit_Extensions_Database_DB_IDatabaseConnection |
|
public execute ( PHPUnit_Extensions_Database_DB_IDatabaseConnection $connection, PHPUnit_Extensions_Database_DataSet_IDataSet $dataSet ) |
$connection |
PHPUnit_Extensions_Database_DB_IDatabaseConnection |
|
$dataSet |
PHPUnit_Extensions_Database_DataSet_IDataSet |
|
Property Details
$iteratorDirection protected_oe property
protected $iteratorDirection |
$operationName protected_oe property