◆ __construct()
Constructs a new instance.
- Exceptions
-
Exception | (if not admin context) |
◆ init()
Initializes the context.
References __error(), dcAdminHelper\addMenuItem(), dcCore\app(), DC_DIGESTS, DC_L10N_ROOT, DC_PLUGINS_ROOT, exit, l10n\getFilePath(), http\head(), dcAdminHelper\loadLocales(), MENU_BLOG, MENU_PLUGINS, MENU_SYSTEM, dcAuth\PERMISSION_ADMIN, dcAuth\PERMISSION_CATEGORIES, dcAuth\PERMISSION_CONTENT_ADMIN, dcAuth\PERMISSION_MEDIA, dcAuth\PERMISSION_MEDIA_ADMIN, dcAuth\PERMISSION_USAGE, and http\redirect().
◆ __set()
__set |
( |
string |
$identifier, |
|
|
|
$value = null |
|
) |
| |
Magic function, store a property and its value
- Parameters
-
string | $identifier | The identifier |
mixed | $value | The value |
◆ __get()
__get |
( |
string |
$identifier | ) |
|
Gets the specified property value (null if does not exist).
- Parameters
-
string | $identifier | The identifier |
- Returns
- mixed
◆ __isset()
__isset |
( |
string |
$identifier | ) |
|
Test if a property exists
- Parameters
-
string | $identifier | The identifier |
- Returns
- bool
◆ __unset()
__unset |
( |
string |
$identifier | ) |
|
Unset a property
- Parameters
-
string | $identifier | The identifier |
◆ setPageURL()
setPageURL |
( |
string |
$value | ) |
|
Sets the admin page URL.
- Parameters
-
◆ getPageURL()
Gets the admin page URL.
- Returns
- string The URL.
References $p_url.
◆ $p_url
◆ $properties
◆ MENU_FAVORITES
const MENU_FAVORITES = 'Favorites' |
◆ MENU_BLOG
◆ MENU_SYSTEM
const MENU_SYSTEM = 'System' |
◆ MENU_PLUGINS
const MENU_PLUGINS = 'Plugins' |
The documentation for this class was generated from the following file: