PHP Class PHPUnit_Extensions_Database_DataSet_Persistors_Xml, qcodo

Author: Mike Lively ([email protected])
Inheritance: extends PHPUnit_Extensions_Database_DataSet_Persistors_Abstract
Show file Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$fh resource
$filename string

Public Methods

Method Description
setFileName ( string $filename ) Sets the filename that this persistor will save to.

Protected Methods

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.

Method Details

endDataSet() protected method

Override to save the end of a dataset.
protected endDataSet ( PHPUnit_Extensions_Database_DataSet_IDataSet $dataset )
$dataset PHPUnit_Extensions_Database_DataSet_IDataSet

endTable() protected method

Override to save the end of a table.
protected endTable ( PHPUnit_Extensions_Database_DataSet_ITable $table )
$table PHPUnit_Extensions_Database_DataSet_ITable

row() protected method

Override to save a table row.
protected row ( array $row, PHPUnit_Extensions_Database_DataSet_ITable $table )
$row array
$table PHPUnit_Extensions_Database_DataSet_ITable

setFileName() public method

Sets the filename that this persistor will save to.
public setFileName ( string $filename )
$filename string

startDataSet() protected method

Override to save the start of a dataset.
protected startDataSet ( PHPUnit_Extensions_Database_DataSet_IDataSet $dataset )
$dataset PHPUnit_Extensions_Database_DataSet_IDataSet

startTable() protected method

Override to save the start of a table.
protected startTable ( PHPUnit_Extensions_Database_DataSet_ITable $table )
$table PHPUnit_Extensions_Database_DataSet_ITable

Property Details

$fh protected property

protected resource $fh
return resource

$filename protected property

protected string $filename
return string