XMLEncoder
FinalYes
Methods
- __construct() : mixed
- encode() : string
Methods
__construct()
public
__construct(XMLWriter $xmlWriter[, string $attributePrefix = '_' ][, string $dateTimeFormat = 'Y-m-d\TH:i:s.uP' ][, string $dateFormat = 'Y-m-d' ][, string $listElementName = 'element' ][, string $mapElementName = 'element' ][, string $mapElementKeyName = 'key' ][, string $mapElementValueName = 'value' ][, string $rowElementName = 'row' ]) : mixed
Parameters
- $xmlWriter : XMLWriter
- $attributePrefix : string = '_'
- $dateTimeFormat : string = 'Y-m-d\TH:i:s.uP'
- $dateFormat : string = 'Y-m-d'
- $listElementName : string = 'element'
- $mapElementName : string = 'element'
- $mapElementKeyName : string = 'key'
- $mapElementValueName : string = 'value'
- $rowElementName : string = 'row'
encode()
public
encode(Rows $rows) : string
Parameters
- $rows : Rows