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 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$dom
$root

공개 메소드들

메소드 설명
__construct ( )
exportCollection ( BaseCollection $collection ) : DOMDocument
exportRecord ( BaseModel $record ) : DOMDocument

보호된 메소드들

메소드 설명
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 )

메소드 상세

__construct() 공개 메소드

public __construct ( )

appendRecord() 보호된 메소드

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

exportRecord() 공개 메소드

public exportRecord ( BaseModel $record ) : DOMDocument
$record LazyRecord\BaseModel
리턴 DOMDocument

프로퍼티 상세

$dom 보호되어 있는 프로퍼티

protected $dom

$root 보호되어 있는 프로퍼티

protected $root