class AbstractExport implements Iterator

Class AbstractExport

Constants

FILE_NAME

EXPORT_IMAGE

EXPORT_DOCUMENT

USE_RANGE_DATE

Methods

current()

No description

key()

No description

next()

No description

rewind()

No description

valid()

No description

getLang()

Get language

$this
setLang( Lang $language = null)

Set language

boolean
hasImages()

Whether images has to be exported as data

boolean
isExportImages()

Get export images

$this
setExportImages( boolean $exportImages)

Set export images

null|array
getImagesPaths()

Get images paths

$this
setImagesPaths( array $imagesPaths)

Set images paths

boolean
hasDocuments()

Whether documents has to be exported as data

boolean
isExportDocuments()

Get export documents

$this
setExportDocuments( boolean $exportDocuments)

Set export documents

null|array
getDocumentsPaths()

Get documents paths

$this
setDocumentsPaths( array $documentsPaths)

Set documents paths

null|array
getRangeDate()

Get range date

$this
setRangeDate( array $rangeDate = null)

Set range date

boolean
useRangeDate()

Whether export bounded with date

string
getFileName()

Get file name

array
applyOrderAndAliases( array $data)

Apply order and aliases on data

array
beforeSerialize( array $data)

Process data before serialization

string
afterSerialize( string $data)

Process data after serialization

setContainer( ContainerInterface $container)

No description

Details

at line 102
current()

at line 118
key()

at line 131
next()

at line 144
rewind()

at line 174
valid()

at line 189
Lang getLang()

Get language

Return Value

Lang A language model

at line 201
$this setLang( Lang $language = null)

Set language

Parameters

Lang $language A language model

Return Value

$this Return $this, allow chaining

at line 229
boolean hasImages()

Whether images has to be exported as data

Return Value

boolean

at line 239
boolean isExportImages()

Get export images

Return Value

boolean Whether to export images or not

at line 251
$this setExportImages( boolean $exportImages)

Set export images

Parameters

boolean $exportImages Whether to export images or not

Return Value

$this Return $this, allow chaining

at line 263
null|array getImagesPaths()

Get images paths

Return Value

null|array Images paths list

at line 275
$this setImagesPaths( array $imagesPaths)

Set images paths

Parameters

array $imagesPaths Images paths list

Return Value

$this Return $this, allow chaining

at line 288
boolean hasDocuments()

Whether documents has to be exported as data

Return Value

boolean

at line 298
boolean isExportDocuments()

Get export documents

Return Value

boolean Whether to export documents or not

at line 310
$this setExportDocuments( boolean $exportDocuments)

Set export documents

Parameters

boolean $exportDocuments Whether to export documents or not

Return Value

$this Return $this, allow chaining

at line 322
null|array getDocumentsPaths()

Get documents paths

Return Value

null|array Documents paths list

at line 334
$this setDocumentsPaths( array $documentsPaths)

Set documents paths

Parameters

array $documentsPaths Documents paths list

Return Value

$this Return $this, allow chaining

at line 347
null|array getRangeDate()

Get range date

Return Value

null|array Array with date range

at line 359
$this setRangeDate( array $rangeDate = null)

Set range date

Parameters

array $rangeDate Array with date range

Return Value

$this Return $this, allow chaining

at line 371
boolean useRangeDate()

Whether export bounded with date

Return Value

boolean

at line 382
string getFileName()

Get file name

Return Value

string Export file name

at line 394
array applyOrderAndAliases( array $data)

Apply order and aliases on data

Parameters

array $data Raw data

Return Value

array Ordered and aliased data

at line 427
array beforeSerialize( array $data)

Process data before serialization

Parameters

array $data Data before serialization

Return Value

array Processed data before serialization

at line 445
string afterSerialize( string $data)

Process data after serialization

Parameters

string $data Data after serialization

Return Value

string Processed after before serialization

at line 453
setContainer( ContainerInterface $container)

Parameters

ContainerInterface $container