PHP Class Sonata\Exporter\Writer\XlsWriter

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

Protected Properties

Property Type Description
$file resource
$filename string
$position integer
$showHeaders boolean

Public Methods

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

Protected Methods

Method Description
init ( $data ) : array

Method Details

__construct() public method

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

close() public method

public close ( )

getDefaultMimeType() final public method

final public getDefaultMimeType ( )

getFormat() final public method

final public getFormat ( )

init() protected method

protected init ( $data ) : array
$data
return array mixed

open() public method

public open ( )

write() public method

public write ( array $data )
$data array

Property Details

$file protected_oe property

protected resource $file
return resource

$filename protected_oe property

protected string $filename
return string

$position protected_oe property

protected int $position
return integer

$showHeaders protected_oe property

protected bool $showHeaders
return boolean