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:
....
Afficher le fichier
Open project: corneltek/lazyrecord
Class Usage Examples
Protected Properties
Méthodes publiques
Méthodes protégées
Méthode |
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 méthode
appendRecord()
protected méthode
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 méthode
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 méthode
public exportCollection ( BaseCollection $collection ) : DOMDocument |
$collection |
LazyRecord\BaseCollection |
|
Résultat |
DOMDocument |
|
exportRecord()
public méthode
public exportRecord ( BaseModel $record ) : DOMDocument |
$record |
LazyRecord\BaseModel |
|
Résultat |
DOMDocument |
|
Property Details
$dom protected_oe property
$root protected_oe property