ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
ilObjDlBookAccess Class Reference

Class ilObjDlBookAccess. More...

+ Inheritance diagram for ilObjDlBookAccess:
+ Collaboration diagram for ilObjDlBookAccess:

Public Member Functions

 _getCommands ()
 get commands More...
 
- Public Member Functions inherited from ilObjContentObjectAccess
 _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) More...
 
 _lookupOnline ($a_id)
 check wether learning module is online More...
 
 _getLastAccessedPage ($a_ref_id, $a_user_id="")
 get last accessed page More...
 
 _checkGoto ($a_target)
 check whether goto script will succeed More...
 
 _preloadData ($a_obj_ids, $a_ref_ids)
 Preload data. More...
 
- 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) More...
 
 _checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id)
 check condition More...
 
 _getCommands ()
 get commands More...
 
 _checkGoto ($a_target)
 check whether goto script will succeed More...
 
 _preloadData ($a_obj_ids, $a_ref_ids)
 Preload data. More...
 

Additional Inherited Members

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

Detailed Description

Class ilObjDlBookAccess.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 35 of file class.ilObjDlBookAccess.php.

Member Function Documentation

◆ _getCommands()

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

Definition at line 50 of file class.ilObjDlBookAccess.php.

51  {
52  $commands = array
53  (
54  array("permission" => "read", "cmd" => "view", "lang_var" => "show",
55  "default" => true),
56  array("permission" => "read", "cmd" => "continue", "lang_var" => "continue_work"),
57  array("permission" => "write", "cmd" => "edit", "lang_var" => "edit"),
58  );
59 
60  return $commands;
61  }

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