Method | Description | |
---|---|---|
__construct ( ) | ||
do_add_user ( |
Success method for the add_user form | |
do_delete_users ( |
Success method for the delete_users form | |
edit_user_apply ( |
The on_success handler of the Apply button on the user profile editing page | |
edit_user_delete ( |
The on_success handler of the Delete button on the user profile editing page | |
get_user ( ) | Handles GET requests of a user page. | |
get_users ( ) | Handles GET requests of the users page. | |
post_user ( ) | Handles POST requests from the user profile page. | |
post_users ( ) | Handles POST requests from the Users listing (ie: creating a new user, deleting from the user list) | |
validate_add_user ( mixed $unused, |
Validation for the add_user form | |
validate_delete_user ( $unused, |
Validation for when a user is deleted | |
validate_delete_users ( mixed $unused, |
Validation for the delete_users form | |
validate_edit_user ( $unused, |
Validation for when a user is edited |
public do_add_user ( |
||
$form | The add_user form |
public do_delete_users ( |
||
$form | The delete_users form |
public edit_user_apply ( |
||
$form |
public edit_user_delete ( |
||
$form |
public post_users ( ) |
public validate_add_user ( mixed $unused, |
||
$unused | mixed | This is technically the value of the form itself, which is unknown |
$form | The add_user form | |
return | array | An array of errors, or an empty array if no errors |
public validate_delete_user ( $unused, |
||
$unused | ||
$control | The Delete button | |
$form | The editing form | |
return | array | An empty array if there are no errors, or strings describing the error. |
public validate_delete_users ( mixed $unused, |
||
$unused | mixed | This is technically the value of the form itself, which is unknown |
$form | The delete_users form | |
return | array | An array of errors, or an empty array if no errors |
public validate_edit_user ( $unused, |
||
$unused | ||
$control | The Apply button | |
$form | The editing form | |
return | array | An empty array if there are no errors, or strings describing the error. |