ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilObjIndividualAssessmentListGUI.php
Go to the documentation of this file.
1<?php
2
3require_once("./Services/Object/classes/class.ilObjectListGUI.php");
5
9 function init() {
10 $this->static_link_enabled = true;
11 $this->delete_enabled = true;
12 $this->cut_enabled = true;
13 $this->copy_enabled = true;
14 $this->subscribe_enabled = true;
15 $this->link_enabled = true;
16 $this->info_screen_enabled = true;
17 $this->type = "iass";
18 $this->gui_class_name = "ilobjIndividualassessmentgui";
19
20 // general commands array
21 include_once('./Modules/IndividualAssessment/classes/class.ilObjIndividualAssessmentAccess.php');
23 }
24
25
34 function initItem($a_ref_id, $a_obj_id, $a_title = "", $a_description = "") {
35 parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
36 }
37
38
46 function getCommandFrame($a_cmd) {
47 switch($a_cmd)
48 {
49 default:
50 $frame = ilFrameTargetInfo::_getFrame("MainContent");
51 break;
52 }
53
54 return $frame;
55 }
56
57 public function getCommandLink($a_cmd) {
58 switch($a_cmd) {
59 case 'edit':
60 $return = $this->ctrl->getLinkTargetByClass(array($this->gui_class_name,'ilIndividualassessmentsettingsgui'),"edit");
61 break;
62 case 'infoScreen':
63 $return = $this->ctrl->getLinkTargetByClass($this->gui_class_name,"view");
64 break;
65 default:
66 $return = parent::getCommandLink($a_cmd);
67 }
68
69 return $return;
70 }
71
80 function getProperties() {
81 global $lng, $ilUser;
82
83 $props = array();
84 return $props;
85 }
86
87}
An exception for terminatinating execution or to throw for unit testing.
static _getFrame($a_class, $a_type='')
Get content frame name.
static _getCommands()
get commandsthis method returns an array of all possible commands/permission combinationsexample: $...
initItem($a_ref_id, $a_obj_id, $a_title="", $a_description="")
inititialize new item
Class ilObjectListGUI.
global $lng
Definition: privfeed.php:17
$ilUser
Definition: imgupload.php:18