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
Public Methods
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
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
$root protected_oe property