PHP Class Shanty_Mongo_DocumentSet

Author: Coen Hyde
Inheritance: extends Shanty_Mongo_Document
Afficher le fichier Open project: coen-hyde/shanty-mongo

Protected Properties

Свойство Type Description
$_requirements

Méthodes publiques

Méthode Description
__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

Method Details

__call() public méthode

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

addDocument() public méthode

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

export() public méthode

Export all data
public export ( $skipRequired = false ) : array
Résultat array

getOperations() public méthode

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

getProperty() public méthode

Get a property
public getProperty ( $index = null )

getPropertyKeys() public méthode

Get the property keys for this Document Set
public getPropertyKeys ( ) : array
Résultat array

purgeOperations() public méthode

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

pushDocument() public méthode

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

setProperty() public méthode

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

Property Details

$_requirements protected_oe static_oe property

protected static $_requirements