ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilObjLTIConsumerGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once './Services/Object/classes/class.ilObjectGUI.php';
5 
13 {
14  public function __construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output)
15  {
16  parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
17  }
18 
19  public function executeCommand()
20  {
21  $next_class = $this->ctrl->getNextClass($this);
22  $cmd = $this->ctrl->getCmd();
23  $this->prepareOutput();
24 
25  switch ($next_class) {
26  case 'ilpermissiongui':
27  require_once 'Services/AccessControl/classes/class.ilPermissionGUI.php';
28  $perm_gui = new ilPermissionGUI($this);
29  $this->ctrl->forwardCommand($perm_gui);
30  break;
31 
32  default:
33  if (!$cmd || $cmd == 'view') {
34  $cmd = "initConsumerForm";
35  }
36  $this->$cmd();
37  break;
38  }
39  }
40 }
__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output)
prepareOutput($a_show_subobjects=true)
prepare output
Class ilObjectGUI Basic methods of all Output classes.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.