PHP 클래스 Shanty_Mongo_DocumentSet

저자: Coen Hyde
상속: extends Shanty_Mongo_Document
파일 보기 프로젝트 열기: coen-hyde/shanty-mongo

보호된 프로퍼티들

프로퍼티 타입 설명
$_requirements

공개 메소드들

메소드 설명
__call ( $name, $arguments = [] )
addDocument ( Shanty_Mongo_Document $document ) Add a document to this set
export ( $skipRequired = false ) : array Export all data
getOperations ( boolean $includingChildren = false ) Get all operations
getProperty ( $index = null ) Get a property
getPropertyKeys ( ) : array Get the property keys for this Document Set
purgeOperations ( boolean $includingChildren = false ) Remove all operations
pushDocument ( Shanty_Mongo_Document $document ) Add a document to the push queue
setProperty ( $index, $document ) Set property

메소드 상세

__call() 공개 메소드

public __call ( $name, $arguments = [] )

addDocument() 공개 메소드

Add a document to this set
public addDocument ( Shanty_Mongo_Document $document )
$document Shanty_Mongo_Document

export() 공개 메소드

Export all data
public export ( $skipRequired = false ) : array
리턴 array

getOperations() 공개 메소드

Get all operations
public getOperations ( boolean $includingChildren = false )
$includingChildren boolean Get operations from children as well

getProperty() 공개 메소드

Get a property
public getProperty ( $index = null )

getPropertyKeys() 공개 메소드

Get the property keys for this Document Set
public getPropertyKeys ( ) : array
리턴 array

purgeOperations() 공개 메소드

Remove all operations
public purgeOperations ( boolean $includingChildren = false )
$includingChildren boolean Remove operations from children as wells

pushDocument() 공개 메소드

Add a document to the push queue
public pushDocument ( Shanty_Mongo_Document $document )
$document Shanty_Mongo_Document

setProperty() 공개 메소드

Set property
public setProperty ( $index, $document )
$index
$document

프로퍼티 상세

$_requirements 보호되어 있는 정적으로 프로퍼티

protected static $_requirements