PHP Class Sonata\Exporter\Source\XmlSourceIterator

Author: Vincent Touzet ([email protected])
Inheritance: extends AbstractXmlSourceIterator
Show file Open project: sonata-project/exporter Class Usage Examples

Protected Properties

Property Type Description
$dataTag string
$mainTag string

Public Methods

Method Description
__construct ( string $filename, string $mainTag = 'datas', string $dataTag = 'data' )
tagContent ( $parser, $data )
tagEnd ( $parser, $name )
tagStart ( $parser, $name, $attributes = [] )

Protected Methods

Method Description
prepareCurrentRow ( )

Method Details

__construct() public method

public __construct ( string $filename, string $mainTag = 'datas', string $dataTag = 'data' )
$filename string
$mainTag string
$dataTag string

prepareCurrentRow() protected method

protected prepareCurrentRow ( )

tagContent() public method

public tagContent ( $parser, $data )

tagEnd() public method

public tagEnd ( $parser, $name )

tagStart() public method

public tagStart ( $parser, $name, $attributes = [] )

Property Details

$dataTag protected property

protected string $dataTag
return string

$mainTag protected property

protected string $mainTag
return string