Merge pull request #7922 from mooror/3.6

This commit is contained in:
Daniel Hensby 2018-03-12 13:18:23 +00:00
commit 35f28a824a
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -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
*