Class ilObjUserAccess.
More...
|
| _checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="") |
|
| canBeDelivered (ilWACPath $ilWACPath) |
|
| _checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="") |
| Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
|
|
| _checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id) |
| check condition More...
|
|
◆ _checkAccess()
ilObjUserAccess::_checkAccess |
( |
|
$a_cmd, |
|
|
|
$a_permission, |
|
|
|
$a_ref_id, |
|
|
|
$a_obj_id, |
|
|
|
$a_user_id = "" |
|
) |
| |
◆ _checkGoto()
static ilObjUserAccess::_checkGoto |
( |
|
$a_target | ) |
|
|
static |
◆ _getCommands()
static ilObjUserAccess::_getCommands |
( |
| ) |
|
|
static |
◆ canBeDelivered()
ilObjUserAccess::canBeDelivered |
( |
ilWACPath |
$ilWACPath | ) |
|
- Parameters
-
- Returns
- bool
Implements ilWACCheckingClass.
Definition at line 43 of file class.ilObjUserAccess.php.
References $ilSetting, $ilUser, ilObjUser\_lookupPref(), and ilWACPath\getFileName().
46 preg_match(
"/usr_(\\d*).*/ui", $ilWACPath->
getFileName(), $matches);
47 $usr_id = $matches[1];
50 if ($usr_id == $ilUser->getId()) {
56 if ($public_upload !=
'y') {
63 if ($public_profile ==
'g' and $ilSetting->get(
'enable_global_profiles')
and $ilSetting->get(
'pub_section')) {
66 } elseif (($public_profile ==
'y' or $public_profile ==
'g')
and $ilUser->getId() != ANONYMOUS_USER_ID && $ilUser->getId() != 0) {
static _lookupPref($a_usr_id, $a_keyword)
The documentation for this class was generated from the following file: