core/model/modx/processors/system/menu/update.php
Update a menu item
- 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