Go to the source code of this file.
Namespaces | |
| namespace | internal_messaging |
Functions | |
| current_user_is_allowed_to_send_message_to_user ($userId) | |
| current_user_is_allowed_to_send_message_to_current_course () | |
| current_user_is_allowed_to_send_message_to_current_group () | |
| can_answer_message ($messageId) | |
| can_answer_message | ( | $ | messageId | ) |
Definition at line 130 of file permission.lib.php.
| current_user_is_allowed_to_send_message_to_current_course | ( | ) |
return the autorisation of the current user to send a message to the current course
Definition at line 93 of file permission.lib.php.
| current_user_is_allowed_to_send_message_to_current_group | ( | ) |
return the autorisation of the current user to send a message to the current group
Definition at line 114 of file permission.lib.php.
| current_user_is_allowed_to_send_message_to_user | ( | $ | userId | ) |
return the autorisation of the current user to send a message to the user in parameter
| int | $userId user id of the recipient |
Definition at line 25 of file permission.lib.php.
1.6.3