Habari AdminHandler Class Backbone of the admin area, handles requests and functionality.
Located in /system/classes/adminhandler.php (line 10)
ActionHandler | --AdminHandler
An instance of the active public theme, which allows plugin hooks to execute
Inherited from ActionHandler
ActionHandler::$action
ActionHandler::$handler_vars
Verifies user credentials before creating the theme and displaying the request.
Dispatches the request to the defined method. (ie: post_{page})
Handle incoming requests to /admin_ajax for admin ajax requests
Handles ajax requests from the manage comments page
Handles ajax requests from the dashboard
handles AJAX from /manage/entries
used to delete entries
handles AJAX from /logs
used to delete logs
handles AJAX from /comments
used to edit comments inline
Handles ajax requests from the logs page
Handles ajax requests from the manage posts page
handles AJAX from /admin/tags
used to delete and rename tags
handles AJAX from /users
used to delete users and fetch new ones
Handles ajax requests from the manage users page
Adds a module to the user's dashboard
Helper function to assign all handler_vars into the theme and displays a theme template.
Fetches active modules for display on the dashboard
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
Display a message when the site options are saved, and save those options
Activates a theme.
Handles get requests for the dashboard
Handle GET requests for /admin/logs to display the logs
Assembles the main menu for the admin area.
Handles get requests from the options admin page
Handles plugin activation or deactivation.
Handles GET requests to /admin/entries
Handle GET requests for /admin/tags to display the tags
Handles GET requests for the theme listing
Handles the submission of the comment moderation form.
Handles post requests from the dashboard.
Deletes a post from the database.
Handles the submission of the import form, importing data from a WordPress database.
This function should probably be broken into an importer class, since it is WordPress-specific.
Handle POST requests for /admin/logs to display the logs
Handles posts requests from the options admin page
A POST handler for the admin plugins page that simply passes those options through.
handles POST values from /manage/entries
used to control what content to show / manage
Handles post requests from the publish page.
A POST handler for the admin themes page that simply passes those options through.
Handles post requests from the user profile page.
Handles post requests from the Users listing (ie: creating a new user)
Assigns the main menu to $mainmenu into the theme.
Inherited From ActionHandler
ActionHandler::act()
ActionHandler::act_redirect()
ActionHandler::__call()
Documentation generated on Thu, 30 Oct 2008 20:31:01 +0100 by phpDocumentor 1.3.2