ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjSurveyQuestionPoolAccess 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 ilObjSurveyQuestionPoolAccess:
+ Collaboration diagram for ilObjSurveyQuestionPoolAccess:

Static Public Member Functions

static _getCommands ()
 
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
Helmut Schottmueller helmu.nosp@m.t.sc.nosp@m.hottm.nosp@m.uell.nosp@m.er@ma.nosp@m.c.co.nosp@m.m
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 23 of file class.ilObjSurveyQuestionPoolAccess.php.

Member Function Documentation

◆ _checkGoto()

static ilObjSurveyQuestionPoolAccess::_checkGoto ( string  $target)
static

Definition at line 37 of file class.ilObjSurveyQuestionPoolAccess.php.

References $DIC.

37  : bool
38  {
39  global $DIC;
40 
41  $ilAccess = $DIC->access();
42 
43  $t_arr = explode("_", $target);
44 
45  if ($ilAccess->checkAccess("visible", "", $t_arr[1]) ||
46  $ilAccess->checkAccess("read", "", $t_arr[1])) {
47  return true;
48  }
49  return false;
50  }
global $DIC
Definition: feed.php:28

◆ _getCommands()

static ilObjSurveyQuestionPoolAccess::_getCommands ( )
static

Definition at line 25 of file class.ilObjSurveyQuestionPoolAccess.php.

Referenced by ilObjSurveyQuestionPoolListGUI\init().

25  : array
26  {
27  $commands = array(
28  array("permission" => "read", "cmd" => "questions", "lang_var" => "edit_questions",
29  "default" => true),
30  array("permission" => "write", "cmd" => "questions", "lang_var" => "edit_questions"),
31  array("permission" => "write", "cmd" => "properties", "lang_var" => "settings")
32  );
33 
34  return $commands;
35  }
+ Here is the caller graph for this function:

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