PHP 클래스 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:
....
파일 보기
프로젝트 열기: corneltek/lazyrecord
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
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 ) |
|
|
메소드 상세
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 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 exportCollection ( BaseCollection $collection ) : DOMDocument |
$collection |
LazyRecord\BaseCollection |
|
리턴 |
DOMDocument |
|
public exportRecord ( BaseModel $record ) : DOMDocument |
$record |
LazyRecord\BaseModel |
|
리턴 |
DOMDocument |
|
프로퍼티 상세