|
| elgg_get_admins (array $options=array()) |
| Get the admin users. More...
|
|
| elgg_add_admin_notice ($id, $message) |
| Write a persistent message to the admin view. More...
|
|
| elgg_delete_admin_notice ($id) |
| Remove an admin notice by ID. More...
|
|
| elgg_get_admin_notices ($limit=10) |
| Get admin notices. More...
|
|
| elgg_admin_notice_exists ($id) |
| Check if an admin notice is currently active. More...
|
|
| elgg_register_admin_menu_item ($section, $menu_id, $parent_id=null, $priority=100) |
| Add an admin area section or child section. More...
|
|
| _elgg_create_notice_of_pending_upgrade ($event, $type, $object) |
| Add an admin notice when a new ElggUpgrade object is created. More...
|
|
| _elgg_admin_init () |
| Initialize the admin backend. More...
|
|
| _elgg_admin_pagesetup () |
| Handles any set up required for administration pages. More...
|
|
| _elgg_admin_add_plugin_settings_menu () |
| Create the plugin settings page menu. More...
|
|
| _elgg_admin_sort_page_menu ($hook, $type, $return, $params) |
| Sort the plugin settings menu items. More...
|
|
| _elgg_admin_page_handler ($page) |
| Handle admin pages. More...
|
|
| _elgg_admin_plugin_screenshot_page_handler ($pages) |
| Serves up screenshots for plugins from admin_plugin_screenshot/<plugin_id>/<size>/<ss_name>. More...
|
|
| _elgg_admin_markdown_page_handler ($pages) |
| Formats and serves out markdown files from plugins. More...
|
|
| _elgg_robots_page_handler () |
| Handle request for robots.txt. More...
|
|
| _elgg_admin_maintenance_allow_url ($current_url) |
| When in maintenance mode, should the given URL be handled normally? More...
|
|
| _elgg_admin_maintenance_handler ($hook, $type, $info) |
| Handle requests when in maintenance mode. More...
|
|
| _elgg_admin_maintenance_action_check ($hook, $type) |
| Prevent non-admins from using actions. More...
|
|
| _elgg_add_admin_widgets ($event, $type, $user) |
| Adds default admin widgets to the admin dashboard. More...
|
|
elgg_add_admin_notice |
( |
|
$id, |
|
|
|
$message |
|
) |
| |
Write a persistent message to the admin view.
Useful to alert the admin to take a certain action. The id is a unique ID that can be cleared once the admin completes the action.
eg: add_admin_notice('twitter_services_no_api', 'Before your users can use Twitter services on this site, you must set up the Twitter API key in the Twitter Services Settings');
- Parameters
-
string | $id | A unique ID that your plugin can remember |
string | $message | Body of the message |
- Returns
- bool
- Since
- 1.8.0
Definition at line 77 of file admin.php.
elgg_register_admin_menu_item |
( |
|
$section, |
|
|
|
$menu_id, |
|
|
|
$parent_id = null , |
|
|
|
$priority = 100 |
|
) |
| |
Add an admin area section or child section.
This is a wrapper for elgg_register_menu_item().
Used in conjuction with http://elgg.org/admin/section_id/child_section style page handler. See the documentation at the top of this file for more details on that.
The text of the menu item is obtained from elgg_echo(admin:$parent_id:$menu_id)
This function handles registering the parent if it has not been registered.
- Parameters
-
string | $section | The menu section to add to |
string | $menu_id | The unique ID of section |
string | $parent_id | If a child section, the parent section id |
int | $priority | The menu item priority |
- Returns
- bool
- Since
- 1.8.0
Definition at line 192 of file admin.php.