ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjUserFolderAccess Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilObjUserFolderAccess:
+ Collaboration diagram for ilObjUserFolderAccess:

Static Public Member Functions

static _checkGoto (string $target)
 
- Static Public Member Functions inherited from ilObjectAccess
static _getCommands ()
 get commands More...
 
static _checkGoto (string $target)
 check whether goto script will succeed More...
 
static _isOffline (int $obj_id)
 Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More...
 
static _preloadData (array $obj_ids, array $ref_ids)
 Preload data. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilObjectAccess
 _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null)
 Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
 
 canBeDelivered (ilWACPath $ilWACPath)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 22 of file class.ilObjUserFolderAccess.php.

Member Function Documentation

◆ _checkGoto()

static ilObjUserFolderAccess::_checkGoto ( string  $target)
static

Definition at line 24 of file class.ilObjUserFolderAccess.php.

References $DIC, and USER_FOLDER_ID.

24  : bool
25  {
26  global $DIC;
27 
28  $ilAccess = $DIC->access();
29 
30  if ($ilAccess->checkAccess("read", "", USER_FOLDER_ID)) {
31  return true;
32  }
33 
34  return false;
35  }
const USER_FOLDER_ID
Definition: constants.php:33
global $DIC
Definition: feed.php:28

The documentation for this class was generated from the following file: