Public Member Functions

AdminGroupsHandler Class Reference

Inheritance diagram for AdminGroupsHandler:
Collaboration diagram for AdminGroupsHandler:

List of all members.

Public Member Functions

 __construct ()
 get_groups ()
 validate_add_group ($unused, $form)
 do_add_group (FormUI $form)
 post_groups ()
 get_group ()
 post_group ()
 ajax_update_groups ($handler_vars)
 ajax_groups ($handler_vars)
 update_groups ($handler_vars, $ajax=true)

Detailed Description

Habari AdminGroupsHandler Class Handles group-related actions in the admin

Definition at line 14 of file admingroupshandler.php.

Constructor & Destructor Documentation

AdminGroupsHandler::__construct (  ) 

Verifies user credentials before creating the theme and displaying the request.

Reimplemented from AdminHandler.

Definition at line 16 of file admingroupshandler.php.

Member Function Documentation

AdminGroupsHandler::ajax_groups ( handler_vars  ) 

Handles AJAX requests from the groups page.

Definition at line 242 of file admingroupshandler.php.

AdminGroupsHandler::ajax_update_groups ( handler_vars  ) 

Handles AJAX requests to update groups.

Definition at line 232 of file admingroupshandler.php.

AdminGroupsHandler::do_add_group ( FormUI form  ) 

Success method for the add_group form

FormUI $form The add_group form

Definition at line 67 of file admingroupshandler.php.

AdminGroupsHandler::get_group (  ) 

Handles GET requests for a group's page.

Definition at line 89 of file admingroupshandler.php.

AdminGroupsHandler::get_groups (  ) 

Handles GET requests for the groups page.

Definition at line 37 of file admingroupshandler.php.

AdminGroupsHandler::post_group (  ) 

Handles POST requests to a group's page.

Definition at line 166 of file admingroupshandler.php.

AdminGroupsHandler::post_groups (  ) 

Handles POST requests for the groups page.

Definition at line 77 of file admingroupshandler.php.

AdminGroupsHandler::update_groups ( handler_vars,
ajax = true 

Add or delete groups.

Definition at line 280 of file admingroupshandler.php.

Referenced by ajax_update_groups().

AdminGroupsHandler::validate_add_group ( unused,

Validation for the add_group form

mixed $unused This is technically the value of the form itself, which is unknown
FormUI $form The add_group form
array An array of errors, or an empty array if no errors

Definition at line 53 of file admingroupshandler.php.

The documentation for this class was generated from the following file: