controller comments

This commit is contained in:
Philip Häusler 2014-01-07 16:19:35 +01:00
parent a05f578f52
commit 82c0d2acc2
3 changed files with 33 additions and 0 deletions

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* Text for Angeltype related links.
*/
function angeltypes_title() { function angeltypes_title() {
return _("Angeltypes"); return _("Angeltypes");
} }
@ -32,6 +35,9 @@ function angeltypes_controller() {
); );
} }
/**
* Delete an Angeltype.
*/
function angeltype_delete_controller() { function angeltype_delete_controller() {
global $privileges, $user; global $privileges, $user;
@ -60,6 +66,9 @@ function angeltype_delete_controller() {
); );
} }
/**
* Change an Angeltype.
*/
function angeltype_edit_controller() { function angeltype_edit_controller() {
global $privileges, $user; global $privileges, $user;

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* Remove all unconfirmed users from a specific angeltype.
*/
function user_angeltypes_delete_all_controller() { function user_angeltypes_delete_all_controller() {
global $user, $privileges; global $user, $privileges;
@ -37,6 +40,9 @@ function user_angeltypes_delete_all_controller() {
); );
} }
/**
* Confirm all unconfirmed users for an angeltype.
*/
function user_angeltypes_confirm_all_controller() { function user_angeltypes_confirm_all_controller() {
global $user, $privileges; global $user, $privileges;
@ -74,6 +80,9 @@ function user_angeltypes_confirm_all_controller() {
); );
} }
/**
* Confirm an user for an angeltype.
*/
function user_angeltype_confirm_controller() { function user_angeltype_confirm_controller() {
global $user, $privileges; global $user, $privileges;
@ -127,6 +136,9 @@ function user_angeltype_confirm_controller() {
); );
} }
/**
* Remove a user from an Angeltype.
*/
function user_angeltype_delete_controller() { function user_angeltype_delete_controller() {
global $user, $privileges; global $user, $privileges;
@ -182,10 +194,16 @@ function user_angeltype_delete_controller() {
); );
} }
/**
* Update an UserAngelType.
*/
function user_angeltype_update_controller() { function user_angeltype_update_controller() {
} }
/**
* User joining an Angeltype (Or Coordinator doing this for him).
*/
function user_angeltype_add_controller() { function user_angeltype_add_controller() {
global $user, $privileges; global $user, $privileges;
@ -236,6 +254,9 @@ function user_angeltype_add_controller() {
); );
} }
/**
* Route UserAngelType actions.
*/
function user_angeltypes_controller() { function user_angeltypes_controller() {
if (! isset($_REQUEST['action'])) if (! isset($_REQUEST['action']))
redirect(page_link_to('angeltypes')); redirect(page_link_to('angeltypes'));

View File

@ -77,6 +77,9 @@ function user_password_recovery_controller() {
} }
} }
/**
* Menu title for password recovery.
*/
function user_password_recovery_title() { function user_password_recovery_title() {
return _("Password recovery"); return _("Password recovery");
} }