model/modx/processors/system/menu/update.php
- package
- modx
- $id
- integer
The ID of the menu item - $text
- string
The text of the menu button. - $icon
- string
- $params
- string
(optional) Any parameters to be sent over GET when clicking the menu - $handler
- string
(optional) A custom javascript handler for the menu item - $action_id
- integer
(optional) The ID of the action. Defaults to 0. - $parent
- integer
(optional) The parent menu to create from. Defaults to 0. - subpackage
- processors.system.menu
Description
Update a menu item