프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$AutoLinkGroups | Should the group titles be autolinked to the first anchor in the group? Default TRUE. | ||
$CssClass | The class attribute to be applied to the root element of the breadcrumb. Default is none. | ||
$EventName | string | boolean | ||
$HtmlId | The html id attribute to be applied to the root element of the menu. Default is "Menu". | ||
$Items | An array of menu items. | ||
$Sort | An array of menu group names arranged in the order that the menu should be rendered. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_Items | array |
메소드 | 설명 | |
---|---|---|
__construct ( string $Sender = '' ) | ||
addItem ( $Group, $Text, boolean $Permission = false, array $Attributes = [] ) | ||
addLink ( $Group, $Text, $Url, boolean $Permission = false, array $Attributes = [] ) | ||
assetTarget ( ) : string | ||
checkPermissions ( ) | ||
clearGroups ( ) | ||
highlightRoute ( $Route ) | ||
removeGroup ( $Group ) | Removes an entire group of links, and the group itself, from the menu. | |
removeLink ( $Group, $Text ) | ||
removeLinks ( $Group ) | Removes all links from a specific group. | |
toString ( string $HighlightRoute = '' ) : string | Render the menu. |
메소드 | 설명 | |
---|---|---|
_Compare ( $A, null $B = null ) : integer | void | ||
_CompareSort ( array $A, array $All ) : integer | The sort is determined by looking at: a) The item's sort. |
public removeGroup ( $Group ) |
public $AutoLinkGroups |
public $CssClass |
public $HtmlId |
public $Sort |