mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7922 from mooror/3.6
This commit is contained in:
commit
35f28a824a
@ -188,6 +188,13 @@ class ManyManyList extends RelationList {
|
||||
* Add an item to this many_many relationship
|
||||
* Does so by adding an entry to the joinTable.
|
||||
*
|
||||
* Can also be used to update an already existing joinTable entry
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* $manyManyList->add($recordID, array("ExtraField"=>"value"));
|
||||
*
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
* @throws Exception
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user