Метод | Описание | |
---|---|---|
__construct ( ) | ||
ajax_groups ( $handler_vars ) | Handles AJAX requests from the groups page. | |
ajax_update_groups ( $handler_vars ) | Handles AJAX requests to update groups. | |
do_add_group ( |
Success method for the add_group form | |
get_group ( ) | Handles GET requests for a group's page. | |
get_groups ( ) | Handles GET requests for the groups page. | |
post_group ( ) | Handles POST requests to a group's page. | |
post_groups ( ) | Handles POST requests for the groups page. | |
update_groups ( $handler_vars, $ajax = true ) | Add or delete groups. | |
validate_add_group ( mixed $unused, |
Validation for the add_group form |
public ajax_groups ( $handler_vars ) |
public ajax_update_groups ( $handler_vars ) |
public do_add_group ( |
||
$form | The add_group form |
public update_groups ( $handler_vars, $ajax = true ) |
public validate_add_group ( mixed $unused, |
||
$unused | mixed | This is technically the value of the form itself, which is unknown |
$form | The add_group form | |
Результат | array | An array of errors, or an empty array if no errors |