core/model/modx/processors/system/menu/create.php

Show: inherited
    Table of Contents

    Creates a menu item

    Package
    modx  
    $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  
    Documentation was generated by DocBlox 0.18.1.