Свойство | Тип | Описание | |
---|---|---|---|
$addedItems | |||
$intermediateCollection |
Метод | Описание | |
---|---|---|
__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) |
Метод | Описание | |
---|---|---|
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 | ||
Результат | string |
protected load ( ) : |
||
Результат |
protected unlinkItem ( string | |
||
$item | string | |
|
Результат | boolean |