4include_once(
"./Services/Object/classes/class.ilObjectAccess.php");
 
    5require_once(
'./Services/WebAccessChecker/interfaces/interface.ilWACCheckingClass.php');
 
   26    public function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id = 
"")
 
   39        if (
'usr_registration' == $a_target) {
 
   40            require_once 
'Services/Registration/classes/class.ilRegistrationSettings.php';
 
   43                $GLOBALS[
'DIC']->language()->loadLanguageModule(
'registration');
 
   47        } elseif (
'usr_nameassist' == $a_target) {
 
   48            if (!$settings->get(
'password_assistance')) {
 
   49                $GLOBALS[
'DIC']->language()->loadLanguageModule(
'pwassist');
 
   53        } elseif (
'usr_pwassist' == $a_target) {
 
   54            if (!$settings->get(
'password_assistance')) {
 
   55                $GLOBALS[
'DIC']->language()->loadLanguageModule(
'pwassist');
 
   74        preg_match(
"/usr_(\\d*).*/ui", $ilWACPath->
getFileName(), $matches);
 
   75        $usr_id = $matches[1];
 
   78        if ($usr_id == 
$ilUser->getId()) {
 
   84        if ($public_upload != 
'y') {
 
   91        if ($public_profile == 
'g' and 
$ilSetting->get(
'enable_global_profiles') and 
$ilSetting->get(
'pub_section')) {
 
   94        } elseif (($public_profile == 
'y' or $public_profile == 
'g') and 
$ilUser->getId() != ANONYMOUS_USER_ID && 
$ilUser->getId() != 0) {
 
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
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::checkAcce...
static _checkGoto($a_target)
check whether goto script will succeed
static _getCommands()
get commands
static _lookupPref($a_usr_id, $a_keyword)
Class ilObjAuthSettingsGUI.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Class ilWACCheckingClass.