PHP Class PHPUnit_Extensions_Database_DataSet_Persistors_Xml, qcodo

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

Protected Properties

Свойство Type Description
$fh resource
$filename string

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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

endTable() protected méthode

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

row() protected méthode

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 méthode

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

startDataSet() protected méthode

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

startTable() protected méthode

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_oe property

protected resource $fh
Résultat resource

$filename protected_oe property

protected string $filename
Résultat string