PHP Class LazyRecord\Exporter\XMLExporter

That would cause memory usage issue (too many model objects) We should also consider the object construction in the import process, we should share the same record class in the same collection section. Here is the specification: ....
Datei anzeigen Open project: corneltek/lazyrecord Class Usage Examples

Protected Properties

Property Type Description
$dom
$root

Public Methods

Method Description
__construct ( )
exportCollection ( BaseCollection $collection ) : DOMDocument
exportRecord ( BaseModel $record ) : DOMDocument

Protected Methods

Method Description
appendRecord ( DOMDocument $dom, DOMElement $root, BaseModel $record, LazyRecord\Schema\SchemaInterface $schema = null, $recursive = true )
appendRecordInplace ( DOMDocument $dom, DOMElement $root, BaseModel $record, LazyRecord\Schema\SchemaInterface $schema = null, $recursive = true )

Method Details

__construct() public method

public __construct ( )

appendRecord() protected method

protected appendRecord ( DOMDocument $dom, DOMElement $root, BaseModel $record, LazyRecord\Schema\SchemaInterface $schema = null, $recursive = true )
$dom DOMDocument
$root DOMElement
$record LazyRecord\BaseModel
$schema LazyRecord\Schema\SchemaInterface

appendRecordInplace() protected method

protected appendRecordInplace ( DOMDocument $dom, DOMElement $root, BaseModel $record, LazyRecord\Schema\SchemaInterface $schema = null, $recursive = true )
$dom DOMDocument
$root DOMElement
$record LazyRecord\BaseModel
$schema LazyRecord\Schema\SchemaInterface

exportCollection() public method

public exportCollection ( BaseCollection $collection ) : DOMDocument
$collection LazyRecord\BaseCollection
return DOMDocument

exportRecord() public method

public exportRecord ( BaseModel $record ) : DOMDocument
$record LazyRecord\BaseModel
return DOMDocument

Property Details

$dom protected_oe property

protected $dom

$root protected_oe property

protected $root