object action.update(object/array actions)
This method allows to update existing actions.
(object/array) Action properties to be updated.
actionid property must be defined for each action, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the standard action properties, the method accepts the following parameters.
|filter||object||Action filter object to replace the current filter.|
|operations||array||Action operations to replace existing operations.|
(object) Returns an object containing the IDs of the updated actions under the
Disable action, that is, set its status to "1".
CAction::update() in frontends/php/include/classes/api/services/CAction.php.