Dotclear 2.24
|
Namespaces | |
namespace | Dotclear |
Authentication and user credentials management. | |
Functions | |
dc_load_locales () | |
dc_admin_icon_url (string $img) | |
dc_admin_icon_theme ($img, bool $fallback=true, string $alt='', string $title='', string $class='') | |
addMenuItem (string $section, string $desc, string $adminurl, $icon, $perm, bool $pinned=false, bool $strict=false) | |
dc_load_locales | ( | ) |
Load locales
References dcAdminHelper\loadLocales().
dc_admin_icon_url | ( | string | $img | ) |
dc_admin_icon_theme | ( | $img, | |
bool | $fallback = true , |
||
string | $alt = '' , |
||
string | $title = '' , |
||
string | $class = '' |
||
) |
Compose HTML icon markup for favorites, menu, … depending on theme (light, dark)
mixed | $img | string (default) or array (0 : light, 1 : dark) |
bool | $fallback | use fallback image if none given |
string | $alt | alt attribute |
string | $title | title attribute |
References dcAdminHelper\adminIcon().
addMenuItem | ( | string | $section, |
string | $desc, | ||
string | $adminurl, | ||
$icon, | |||
$perm, | |||
bool | $pinned = false , |
||
bool | $strict = false |
||
) |
Adds a menu item.
string | $section | The section |
string | $desc | The description |
string | $adminurl | The adminurl |
mixed | $icon | The icon(s) |
mixed | $perm | The permission |
bool | $pinned | The pinned |
bool | $strict | The strict |
References dcAdminHelper\addMenuItem().