contentbox.modules.contentbox-admin.handlers

Class menus

lucee.Component
    extended by contentbox.modules.contentbox-admin.handlers.baseHandler
      extended by contentbox.modules.contentbox-admin.handlers.menus

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Manage custom site menus

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any cb


    • access = public
    • returntype = any
    • inject = id:cbHelper@cb
    true false
    any HTMLHelper


    • access = public
    • returntype = any
    • inject = HTMLHelper@coldbox
    true false
    any menuItemService


    • access = public
    • returntype = any
    • inject = id:menuItemService@cb
    true false
    any menuService


    • access = public
    • returntype = any
    • inject = id:menuService@cb
    true false
    Method Summary
    any createMenuItem([any event], [any rc], [any prc])
         Create a menu Item.
    any editor([any event], [any rc], [any prc])
         Show Editor.
    any export([any event], [any rc], [any prc])
         Export a menu.
    any exportAll([any event], [any rc], [any prc])
         Export all menus.
    any filebrowser([any event], [any rc], [any prc])
         custom filebrowser "widget" for media item selections.
    any importAll([any event], [any rc], [any prc])
         Import menu from json data.
    any index([any event], [any rc], [any prc])
         Menu Manager index.
    any menuTable([any event], [any rc], [any prc])
         Build out the index table for the async loaded menus.
    any preHandler([any event], [any action], [any eventArguments], [any rc], [any prc])
    any preview([any event], [any rc], [any prc])
         Preview the menu built.
    any remove([any event], [any rc], [any prc])
         Remove a menu.
    any save([any event], [any rc], [any prc])
         Save Menu.
    any slugify([any event], [any rc], [any prc])
         slugify remotely.
    any slugUnique([any event], [any rc], [any prc])
         Verify if slug is unique.
     
    Methods inherited from class contentbox.modules.contentbox-admin.handlers.baseHandler
    None
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    cb

    property any cb

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:cbHelper@cb
    serializable - true

    HTMLHelper

    property any HTMLHelper

    Attributes:
    access - public
    required - false
    returntype - any
    inject - HTMLHelper@coldbox
    serializable - true

    menuItemService

    property any menuItemService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:menuItemService@cb
    serializable - true

    menuService

    property any menuService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:menuService@cb
    serializable - true

    Method Detail

    createMenuItem

    public any createMenuItem([any event], [any rc], [any prc])

    Create a menu Item

    Parameters:
    event
    rc
    prc
    Returns:
    text

    editor

    public any editor([any event], [any rc], [any prc])

    Show Editor

    Parameters:
    event
    rc
    prc

    export

    public any export([any event], [any rc], [any prc])

    Export a menu

    Parameters:
    event
    rc
    prc
    Returns:
    json,xml

    exportAll

    public any exportAll([any event], [any rc], [any prc])

    Export all menus

    Parameters:
    event
    rc
    prc
    Returns:
    json,xml

    filebrowser

    public any filebrowser([any event], [any rc], [any prc])

    custom filebrowser "widget" for media item selections

    Parameters:
    event
    rc
    prc

    importAll

    public any importAll([any event], [any rc], [any prc])

    Import menu from json data

    Parameters:
    event
    rc
    prc

    index

    public any index([any event], [any rc], [any prc])

    Menu Manager index

    Parameters:
    event
    rc
    prc

    menuTable

    public any menuTable([any event], [any rc], [any prc])

    Build out the index table for the async loaded menus

    Parameters:
    event
    rc
    prc
    Returns:
    html

    preHandler

    public any preHandler([any event], [any action], [any eventArguments], [any rc], [any prc])

    Parameters:
    event
    action
    eventArguments
    rc
    prc

    preview

    public any preview([any event], [any rc], [any prc])

    Preview the menu built

    Parameters:
    event
    rc
    prc
    Returns:
    text

    remove

    public any remove([any event], [any rc], [any prc])

    Remove a menu

    Parameters:
    event
    rc
    prc

    save

    public any save([any event], [any rc], [any prc])

    Save Menu

    Parameters:
    event
    rc
    prc

    slugify

    public any slugify([any event], [any rc], [any prc])

    slugify remotely

    Parameters:
    event
    rc
    prc
    Returns:
    plain

    slugUnique

    public any slugUnique([any event], [any rc], [any prc])

    Verify if slug is unique

    Parameters:
    event
    rc
    prc
    Returns:
    json