ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilObjWorkspaceFolderAccess Class Reference

Class ilObjWorkspaceFolderAccess. More...

+ Inheritance diagram for ilObjWorkspaceFolderAccess:
+ Collaboration diagram for ilObjWorkspaceFolderAccess:

Public Member Functions

 _getCommands ()
 get commands
- Public Member Functions inherited from ilObjectAccess
 _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::checkAccess)
 _checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id=0)
 check condition
 _checkGoto ($a_target)
 check whether goto script will succeed
 _preloadData ($a_obj_ids, $a_ref_ids)
 Preload data.

Static Private Member Functions

static getFolderSettings ()

Static Private Attributes

static $folderSettings

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectAccess
static _isOffline ($a_obj_id)
 Type-specific implementation of general status, has to be overwritten.

Detailed Description

Class ilObjWorkspaceFolderAccess.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
Id:
class.ilObjFolderAccess.php 26739 2010-11-28 20:33:51Z smeyer

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

Member Function Documentation

ilObjWorkspaceFolderAccess::_getCommands ( )

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"), );

Reimplemented from ilObjectAccess.

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

Referenced by ilObjWorkspaceFolderListGUI\init().

{
$commands = array();
$commands[] = array("permission" => "read", "cmd" => "view", "lang_var" => "show", "default" => true);
$commands[] = array("permission" => "write", "cmd" => "edit", "lang_var" => "edit");
return $commands;
}

+ Here is the caller graph for this function:

static ilObjWorkspaceFolderAccess::getFolderSettings ( )
staticprivate

Field Documentation

ilObjWorkspaceFolderAccess::$folderSettings
staticprivate

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

Referenced by getFolderSettings().


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