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 public 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);
78 include_once
"./Services/UICore/classes/class.ilFrameTargetInfo.php";
106 include_once
"./Modules/TestQuestionPool/classes/class.ilObjQuestionPool.php";
108 $props[] = array(
"alert" =>
true,
"property" =>
$lng->txt(
"status"),
109 "value" =>
$lng->txt(
"offline"));
127 $a_cmd = explode(
'::', $a_cmd);
129 if (count($a_cmd) == 2) {
130 $cmd_link =
$ilCtrl->getLinkTargetByClass(array(
'ilRepositoryGUI',
'ilObjQuestionPoolGUI', $a_cmd[0]), $a_cmd[1]);
132 $cmd_link =
$ilCtrl->getLinkTargetByClass(
'ilObjQuestionPoolGUI', $a_cmd[0]);
135 $params = array_merge(array(
'ref_id' => $this->ref_id), $this->command_link_params);
137 foreach (
$params as $param => $value) {
static _lookupOnline($a_obj_id, $is_reference=false)
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
__construct($a_context=self::CONTEXT_REPOSITORY)
constructor
getCommandFrame($a_cmd)
Get command target frame.
getCommandLink($a_cmd)
Get command link url.