App\Core_Menu

Inherited from cmsApplication_CategorizedList

Protected Attributes

protected $element_ul_class 
protected $element_li 
protected $element_ul 
protected $submenu_icon 
protected $tmpstore= []
protected $backend_mode= null
protected $use_menu_human_readable_css= null

Protected Methods

protected setOutputHTMLElements()

Public Methods

public __construct()
public refreshAllMenuLinks(bool $force=false)
Refresh all the menu links @global \SCHLIX\cmsDatabase $SystemDB @global \SCHLIX\cmsConfigRegistry $SystemConfig
public getMenuArrayByCategoryID($category_id, $active_only=false, $fields=' *')
public arraymodifyDataValuesBeforeSaveItem(array $datavalues)
Before save item
public onAfterSaveItem(array $datavalues, $original_datavalues, $previous_item, array $retval)
Modify some stuff @global \SCHLIX\cmsDatabase $SystemDB

Public Static Methods

public static -1 if it's not anywhere, or an integer of the menu idgetCurrentMenuID()
Get the current menu ID based on the URL entered, e.g. http://website.com/html/test123.html and if it's in the menu it will return that ID from gk_menu_items table
public static -1 if it's not anywhere, or an integer of the menu idgetCurrentMenuInformation()
Get the current menu ID based on the URL entered, e.g. http://website.com/html/test123.html and if it's in the menu it will return that ID from gk_menu_items table