Свойство | Тип | Описание | |
---|---|---|---|
$_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 |
public addDocument ( Shanty_Mongo_Document $document ) | ||
$document | Shanty_Mongo_Document |
public getOperations ( boolean $includingChildren = false ) | ||
$includingChildren | boolean | Get operations from children as well |
public getPropertyKeys ( ) : array | ||
Результат | array |
public purgeOperations ( boolean $includingChildren = false ) | ||
$includingChildren | boolean | Remove operations from children as wells |
public pushDocument ( Shanty_Mongo_Document $document ) | ||
$document | Shanty_Mongo_Document |
public setProperty ( $index, $document ) | ||
$index | ||
$document |