Inheritance diagram for AdminDashboardHandler:
Collaboration diagram for AdminDashboardHandler:Public Member Functions | |
| get_dashboard () | |
| post_dashboard () | |
| fetch_dashboard_modules () | |
| ajax_dashboard ($handler_vars) | |
| filter_dash_module_add_item ($module, $id, $theme) | |
| dash_additem ($form) | |
Habari AdminDashboardHandler Class Handles dashboard-related actions in the admin
Definition at line 12 of file admindashboardhandler.php.
| AdminDashboardHandler::ajax_dashboard | ( | $ | handler_vars | ) |
Handles AJAX requests from the dashboard
Definition at line 112 of file admindashboardhandler.php.
| AdminDashboardHandler::dash_additem | ( | $ | form | ) |
Adds a module to the user's dashboard
| object | form FormUI object |
Definition at line 181 of file admindashboardhandler.php.
| AdminDashboardHandler::fetch_dashboard_modules | ( | ) |
Fetches active modules for display on the dashboard
Definition at line 74 of file admindashboardhandler.php.
Referenced by ajax_dashboard(), and get_dashboard().
| AdminDashboardHandler::filter_dash_module_add_item | ( | $ | module, | |
| $ | id, | |||
| $ | theme | |||
| ) |
Function used to set theme variables to the add module dashboard widget. TODO make this form use an AJAX call instead of reloading the page
Definition at line 157 of file admindashboardhandler.php.
| AdminDashboardHandler::get_dashboard | ( | ) |
Handles get requests for the dashboard
Definition at line 18 of file admindashboardhandler.php.
Referenced by post_dashboard().
| AdminDashboardHandler::post_dashboard | ( | ) |
Handles POST requests from the dashboard.
Definition at line 66 of file admindashboardhandler.php.
1.7.1