ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilObjRemoteFileAccess Class Reference
+ Inheritance diagram for ilObjRemoteFileAccess:
+ Collaboration diagram for ilObjRemoteFileAccess:

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...
 

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

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

\

Definition at line 31 of file class.ilObjRemoteFileAccess.php.

Member Function Documentation

◆ _getCommands()

static ilObjRemoteFileAccess::_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 45 of file class.ilObjRemoteFileAccess.php.

Referenced by ilObjRemoteFileListGUI\init().

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

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