PHP Class PHPUnit_Extensions_Database_UI_Modes_ExportDataSet, qcodo
This command is used to convert existing data sets or data in the database
into a valid data set format.
Mostrar archivo
Open project: qcodo/qcodo
Public Methods
Method |
Description |
|
execute ( array $modeArguments, PHPUnit_Extensions_Database_UI_IMediumPrinter $medium ) |
Executes the export dataset command. |
|
Protected Methods
Method |
Description |
|
getDataSetFromArgument ( string $argString, array $databaseList ) : PHPUnit_Extensions_Database_DataSet_IDataSet |
Returns the correct dataset given an argument containing a dataset spec. |
|
getPersistorFromArgument ( string $argString ) : PHPUnit_Extensions_Database_DataSet_IPersistable |
Returns the correct persistor given an argument containing a persistor spec. |
|
Method Details
Executes the export dataset command.
public execute ( array $modeArguments, PHPUnit_Extensions_Database_UI_IMediumPrinter $medium ) |
$modeArguments |
array |
|
$medium |
PHPUnit_Extensions_Database_UI_IMediumPrinter |
|
getDataSetFromArgument()
protected method
Returns the correct dataset given an argument containing a dataset spec.
getPersistorFromArgument()
protected method
Returns the correct persistor given an argument containing a persistor spec.
protected getPersistorFromArgument ( string $argString ) : PHPUnit_Extensions_Database_DataSet_IPersistable |
$argString |
string |
|
return |
PHPUnit_Extensions_Database_DataSet_IPersistable |
|