Go to the source code of this file.
Namespaces | |
| namespace | RIGHT |
Functions | |
| claro_get_all_profile_name_list () | |
| claro_get_profile_id ($profileLabel) | |
| claro_get_profile_name ($profileId) | |
| claro_get_profile_label ($profileId) | |
| claro_get_course_profile_right ($profileId=null, $courseId=null) | |
| claro_is_allowed_tool_action ($actionName, $tid=null, $profileId=null, $courseId=null) | |
| claro_is_allowed_tool_read ($tid=null, $profileId=null, $courseId=null) | |
| claro_is_allowed_tool_edit ($tid=null, $profileId=null, $courseId=null) | |
| claro_is_tool_activated ($tid, $courseId) | |
| claro_is_tool_visible ($tid, $courseId) | |
| claro_get_all_profile_name_list | ( | ) |
Get all names of profile in an array where key are profileId return array assoc profileId => profileName
Definition at line 28 of file right_profile.lib.php.
| claro_get_course_profile_right | ( | $ | profileId = null, |
|
| $ | courseId = null | |||
| ) |
Get course/profile right
| integer | $profileId profile identifier | |
| integer | $courseId course identifier |
Definition at line 129 of file right_profile.lib.php.
| claro_get_profile_id | ( | $ | profileLabel | ) |
Get profileId
Definition at line 67 of file right_profile.lib.php.
| claro_get_profile_label | ( | $ | profileId | ) |
Get profileName
| integer | $profileId profile identifier |
Definition at line 107 of file right_profile.lib.php.
| claro_get_profile_name | ( | $ | profileId | ) |
Get profileName
| integer | $profileId profile identifier |
Definition at line 87 of file right_profile.lib.php.
| claro_is_allowed_tool_action | ( | $ | actionName, | |
| $ | tid = null, |
|||
| $ | profileId = null, |
|||
| $ | courseId = null | |||
| ) |
Is tool action allowed
| string | $actionName name of the action | |
| integer | $tid tool identifier | |
| integer | $profileId profile identifier | |
| string | $courseId course identifier |
Definition at line 195 of file right_profile.lib.php.
| claro_is_allowed_tool_edit | ( | $ | tid = null, |
|
| $ | profileId = null, |
|||
| $ | courseId = null | |||
| ) |
Is tool edit action allowed
| string | $actionName name of the action | |
| integer | $tid tool identifier | |
| integer | $profileId profile identifier | |
| string | $courseId course identifier |
Definition at line 294 of file right_profile.lib.php.
| claro_is_allowed_tool_read | ( | $ | tid = null, |
|
| $ | profileId = null, |
|||
| $ | courseId = null | |||
| ) |
Is tool read action allowed
| string | $actionName name of the action | |
| integer | $tid tool identifier | |
| integer | $profileId profile identifier | |
| string | $courseId course identifier |
Definition at line 248 of file right_profile.lib.php.
| claro_is_tool_activated | ( | $ | tid, | |
| $ | courseId | |||
| ) |
Is tool activate
| integer | $tid tool identifier | |
| string | courseId |
Definition at line 315 of file right_profile.lib.php.
| claro_is_tool_visible | ( | $ | tid, | |
| $ | courseId | |||
| ) |
Is tool visible
| integer | $tid tool identifier | |
| string | courseId |
Definition at line 377 of file right_profile.lib.php.
1.6.3