Property | Type | Description | |
---|---|---|---|
$database | string | ||
$fh | resource | ||
$filename | string |
Method | Description | |
---|---|---|
setDatabase ( string $database ) | Sets the name of the database. | |
setFileName ( string $filename ) | Sets the filename that this persistor will save to. |
Method | Description | |
---|---|---|
endDataSet ( PHPUnit_Extensions_Database_DataSet_IDataSet $dataset ) | Override to save the end of a dataset. | |
endTable ( PHPUnit_Extensions_Database_DataSet_ITable $table ) | Override to save the end of a table. | |
row ( array $row, PHPUnit_Extensions_Database_DataSet_ITable $table ) | Override to save a table row. | |
startDataSet ( PHPUnit_Extensions_Database_DataSet_IDataSet $dataset ) | Override to save the start of a dataset. | |
startTable ( PHPUnit_Extensions_Database_DataSet_ITable $table ) | Override to save the start of a table. |
protected endDataSet ( PHPUnit_Extensions_Database_DataSet_IDataSet $dataset ) | ||
$dataset | PHPUnit_Extensions_Database_DataSet_IDataSet |
protected endTable ( PHPUnit_Extensions_Database_DataSet_ITable $table ) | ||
$table | PHPUnit_Extensions_Database_DataSet_ITable |
public setDatabase ( string $database ) | ||
$database | string |
public setFileName ( string $filename ) | ||
$filename | string |
protected startDataSet ( PHPUnit_Extensions_Database_DataSet_IDataSet $dataset ) | ||
$dataset | PHPUnit_Extensions_Database_DataSet_IDataSet |
protected startTable ( PHPUnit_Extensions_Database_DataSet_ITable $table ) | ||
$table | PHPUnit_Extensions_Database_DataSet_ITable |