ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilObjWorkspaceFolderAccess 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 ilObjWorkspaceFolderAccess:
+ Collaboration diagram for ilObjWorkspaceFolderAccess:

Static Public Member Functions

static _getCommands ()
 get commands More...
 
- 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...
 

Static Private Member Functions

static getFolderSettings ()
 

Static Private Attributes

static ilSetting $folderSettings = null
 

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
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

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

Member Function Documentation

◆ _getCommands()

static ilObjWorkspaceFolderAccess::_getCommands ( )
static

get commands

this method returns an array of all possible commands/permission combinations

example: $commands = array ( array("permission" => "read", "cmd" => "view", "lang_var" => "show"), array("permission" => "write", "cmd" => "edit", "lang_var" => "edit"), );

Definition at line 46 of file class.ilObjWorkspaceFolderAccess.php.

Referenced by ilObjWorkspaceFolderListGUI\init().

46  : array
47  {
48  $commands = array();
49  $commands[] = array("permission" => "read", "cmd" => "view", "lang_var" => "show", "default" => true);
50  $commands[] = array("permission" => "write", "cmd" => "edit", "lang_var" => "edit");
51  return $commands;
52  }
+ Here is the caller graph for this function:

◆ getFolderSettings()

static ilObjWorkspaceFolderAccess::getFolderSettings ( )
staticprivate

Field Documentation

◆ $folderSettings

ilSetting ilObjWorkspaceFolderAccess::$folderSettings = null
staticprivate

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

Referenced by getFolderSettings().


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