PHP Class Sonata\Exporter\Writer\XlsWriter

Author: Thomas Rabaix ([email protected])
Inheritance: implements Sonata\Exporter\Writer\TypedWriterInterface
Afficher le fichier Open project: sonata-project/exporter Class Usage Examples

Protected Properties

Свойство Type Description
$file resource
$filename string
$position integer
$showHeaders boolean

Méthodes publiques

Méthode Description
__construct ( $filename, boolean $showHeaders = true )
close ( )
getDefaultMimeType ( )
getFormat ( )
open ( )
write ( array $data )

Méthodes protégées

Méthode Description
init ( $data ) : array

Method Details

__construct() public méthode

public __construct ( $filename, boolean $showHeaders = true )
$filename
$showHeaders boolean

close() public méthode

public close ( )

getDefaultMimeType() final public méthode

final public getDefaultMimeType ( )

getFormat() final public méthode

final public getFormat ( )

init() protected méthode

protected init ( $data ) : array
$data
Résultat array mixed

open() public méthode

public open ( )

write() public méthode

public write ( array $data )
$data array

Property Details

$file protected_oe property

protected resource $file
Résultat resource

$filename protected_oe property

protected string $filename
Résultat string

$position protected_oe property

protected int $position
Résultat integer

$showHeaders protected_oe property

protected bool $showHeaders
Résultat boolean