4 include_once(
"./Services/Object/classes/class.ilObjectAccess.php");
5 require_once(
'./Services/WebAccessChecker/interfaces/interface.ilWACCheckingClass.php');
25 function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"") {
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 _checkGoto($a_target)
check whether goto script will succeed
canBeDelivered(ilWACPath $ilWACPath)
Class ilWACCheckingClass.
_checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="")
static _lookupPref($a_usr_id, $a_keyword)