object application.massadd(object parameters)
This method allows to simultaneously add multiple items to the given applications.
(object) Parameters containing the IDs of the applications to update and the items to add to the applications.
The method accepts the following parameters.
|array/object||Applications to be updated.
The applications must have the
|items||array/object||Items to add to the given applications.
The items must have the
(object) Returns an object containing the IDs of the updated applications under the
Add the given items to two applications.
CApplication::massAdd() in frontends/php/api/classes/CApplication.php.