16 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
17 include_once
"./Modules/Test/classes/inc.AssessmentConstants.php";
27 public function __construct($a_context = self::CONTEXT_REPOSITORY)
29 parent::__construct($a_context);
37 $this->delete_enabled =
true;
38 $this->cut_enabled =
true;
39 $this->copy_enabled =
true;
40 $this->subscribe_enabled =
true;
41 $this->link_enabled =
true;
42 $this->info_screen_enabled =
true;
44 $this->gui_class_name =
"ilobjquestionpoolgui";
47 include_once
"./Modules/TestQuestionPool/classes/class.ilObjQuestionPoolAccess.php";
60 function initItem($a_ref_id, $a_obj_id, $a_title =
"", $a_description =
"")
62 parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
79 include_once
"./Services/UICore/classes/class.ilFrameTargetInfo.php";
105 include_once
"./Modules/TestQuestionPool/classes/class.ilObjQuestionPool.php";
108 $props[] =
array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
109 "value" => $lng->txt(
"offline"));
126 $a_cmd = explode(
'::', $a_cmd);
128 if( count($a_cmd) == 2 )
130 $cmd_link = $ilCtrl->getLinkTargetByClass(
array(
'ilRepositoryGUI',
'ilObjQuestionPoolGUI', $a_cmd[0]), $a_cmd[1]);
134 $cmd_link = $ilCtrl->getLinkTargetByClass(
'ilObjQuestionPoolGUI', $a_cmd[0]);
137 $params = array_merge(
array(
'ref_id' => $this->ref_id), $this->command_link_params);
139 foreach(
$params as $param => $value)
Class ilObjQuestionPoolListGUI.
getProperties()
Get item properties.
static _getCommands()
get commands
initItem($a_ref_id, $a_obj_id, $a_title="", $a_description="")
inititialize new item
static appendUrlParameterString($a_url, $a_par, $xml_style=false)
append URL parameter string ("par1=value1&par2=value2...") to given URL string
static _lookupOnline($a_obj_id, $is_reference=FALSE)
__construct($a_context=self::CONTEXT_REPOSITORY)
constructor
getCommandFrame($a_cmd)
Get command target frame.
Create styles array
The data for the language used.
getCommandLink($a_cmd)
Get command link url.