Property | Type | Description | |
---|---|---|---|
$addedItems | |||
$intermediateCollection |
Method | Description | |
---|---|---|
__construct ( $attribute = null, |
||
getValue ( array $params = [], boolean $processCallbacks = true ) : null | |
Get attribute value | |
hasValue ( ) | ||
save ( ) | Insert links into DB | |
setValue ( null $value = null, boolean $fromDb = false ) | Set or get attribute value | |
unlink ( string | |
Remove item from many2many collection (removes the link between entities) | |
unlinkAll ( ) : boolean | Remove all items from man2many collection (removes the links between entities) |
Method | Description | |
---|---|---|
extractClassName ( $class ) : string | Extract short class name from class namespace | |
load ( ) : |
Load many2many attribute value (prepares MongoCursor, lazy loads data) | |
unlinkItem ( string | |
Unlink given item (only removes the aggregation record) |
public __construct ( $attribute = null, |
||
$entity |
protected extractClassName ( $class ) : string | ||
$class | ||
return | string |
protected load ( ) : |
||
return |
protected unlinkItem ( string | |
||
$item | string | |
|
return | boolean |