Property | Type | Description | |
---|---|---|---|
$autoActiveLink | boolean | Automatic detection of active link (class="active"). | |
$autoButtonLink | boolean | Automatic button link when not in a menu. | |
$helpers |
Property | Type | Description | |
---|---|---|---|
$_fixed | |||
$_fluid | |||
$_inverse | |||
$_level | integer | Menu level (0 = out of menu, 1 = main horizontal menu, 2 = dropdown menu). | |
$_responsive | |||
$_static |
Method | Description | |
---|---|---|
addClass ( array $options = [], string | array $class = null, string $key = 'class' ) : array | Adds the given class to the element options | |
beginMenu ( $name = null, $url = null, $options = [], $linkOptions = [], $listOptions = [] ) | Start a new menu, 2 levels: If not in submenu, create a dropdown menu, oterwize create hover menu. | |
button ( $name, array $options = [] ) | Add a button to the navbar. | |
create ( $brand, $options = [] ) | Create a new navbar. | |
divider ( array $options = [] ) | Add a divider to the navbar or to a menu. | |
end ( ) | End a navbar. | |
endMenu ( ) | End a menu. | |
header ( $name, array $options = [] ) | Add a header to the navbar or to a menu, should not be used outside a submenu. | |
link ( $name, $url = '', array $options = [], array $linkOptions = [] ) | Add a link to the navbar or to a menu. | |
searchForm ( $model = null, $options = [] ) | Add a serach form to the navbar. | |
text ( $text, $options = [] ) | Add a text to the navbar. |
public beginMenu ( $name = null, $url = null, $options = [], $linkOptions = [], $listOptions = [] ) |
public searchForm ( $model = null, $options = [] ) |
protected int $_level | ||
return | integer |
public bool $autoActiveLink | ||
return | boolean |
public bool $autoButtonLink | ||
return | boolean |