|
static | adminIcon ($img, bool $fallback=true, string $alt='', string $title='', string $class='') |
|
static | loadLocales () |
|
static | addMenuItem (string $section, string $desc, string $adminurl, $icon, $perm, bool $pinned=false, bool $strict=false) |
|
◆ adminIcon()
static adminIcon |
( |
|
$img, |
|
|
bool |
$fallback = true , |
|
|
string |
$alt = '' , |
|
|
string |
$title = '' , |
|
|
string |
$class = '' |
|
) |
| |
|
static |
◆ loadLocales()
◆ addMenuItem()
static addMenuItem |
( |
string |
$section, |
|
|
string |
$desc, |
|
|
string |
$adminurl, |
|
|
|
$icon, |
|
|
|
$perm, |
|
|
bool |
$pinned = false , |
|
|
bool |
$strict = false |
|
) |
| |
|
static |
Adds a menu item.
- Parameters
-
string | $section | The section |
string | $desc | The item description |
string | $adminurl | The URL scheme |
mixed | $icon | The icon(s) |
mixed | $perm | The permission(s) |
bool | $pinned | Is pinned at begining |
bool | $strict | Strict URL scheme or allow query string parameters |
References dcCore\app().
Referenced by addMenuItem(), and dcAdmin\init().
The documentation for this class was generated from the following file: