PHP Class Sonata\Exporter\Writer\GsaFeedWriter

Author: Rémi Marseille ([email protected])
Inheritance: implements Sonata\Exporter\Writer\WriterInterface
Afficher le fichier Open project: sonata-project/exporter Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( SplFileInfo $folder, string $dtd, string $datasource, string $feedtype ) Constructor.
close ( )
open ( )
write ( array $data )

Private Methods

Méthode Description
closeFeed ( ) Closes the current feed.
generateNewPart ( ) Generates a new file.

Method Details

__construct() public méthode

Constructor.
public __construct ( SplFileInfo $folder, string $dtd, string $datasource, string $feedtype )
$folder SplFileInfo The folder to store the generated feed(s)
$dtd string A DTD URL (something like http://gsa.example.com/gsafeed.dtd)
$datasource string A datasouce
$feedtype string A feedtype (full|incremental|metadata-and-url)

close() public méthode

public close ( )

open() public méthode

public open ( )

write() public méthode

public write ( array $data )
$data array