App\Core_Menu_Admin

Inherited from cmsAdmin_CategorizedList

Protected Attributes

protected $reserved_menu_types= ['home','external_link','menu_placeholder','menu_divider']

Protected Methods

protected getMenuItemParentCategoryForMenuItemSelection($appname, $item_or_cat_id)
protected array of subtemplatesgetListOfFrontendSubtemplates()
Get the list of frontend subtemplates
protected getDefaultFrontendThemeID()
protected getMultipleItemParentIDs($cat_id)
protected setAllChildrenCategory($parentid, $new_category_id)

Public Methods

public __construct()
public intgetExistingMenuCategoryIDWithName(string $title)
Returns category ID# if a block with this name exists. Returns 0 otherwise $SystemDB
public arrayonGetAdminValidationErrorListBeforeSaveCategory(array $datavalues)
Returns an array of error list if there's an error during save category
public ajaxGetItemsByCategoryID($id, $start, $end, $sortby='', $sortdirection='ASC')
public arraymodifyItemResponseSchemaFields(array $response_schema)
You can customize the response schema field here
public loadApplicationJavascript()
public arrayonModifyDataBeforeSaveItem(array $datavalues)
Modify data before save item
public SortMenus($parent_id)
public getApplicationChoices()
public drawApplicationChoices($answer)
public ajaxMoveObjects($mixed_items_to_move, $destination)
public duplicateItem($source_item_id, $destination_catnumber)
public refreshMenuLinks()
public ajaxGetMenuBlocks()
public Run()