25 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
46 $this->info_screen_enabled =
true;
54 $this->static_link_enabled =
true;
55 $this->delete_enabled =
true;
56 $this->cut_enabled =
true;
57 $this->copy_enabled =
true;
58 $this->subscribe_enabled =
true;
59 $this->link_enabled =
true;
60 $this->payment_enabled =
false;
62 $this->gui_class_name =
"ilobjsurveygui";
65 include_once(
'./Modules/Survey/classes/class.ilObjSurveyAccess.php');
78 function initItem($a_ref_id, $a_obj_id, $a_title =
"", $a_description =
"")
80 parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
98 include_once
"./Services/UICore/classes/class.ilFrameTargetInfo.php";
124 if (!$rbacsystem->checkAccess(
"visible,read", $this->ref_id))
129 include_once(
"./Modules/Survey/classes/class.ilObjSurveyAccess.php");
132 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
133 "value" => $lng->txt(
"offline"));
141 $props[] = array(
"alert" =>
true,
142 "property" => $lng->txt(
"svy_participation"),
143 "value" => $lng->txt(
"svy_warning_survey_not_complete"),
144 'propertyNameVisible' =>
false);
148 if ($ilUser->getId() != ANONYMOUS_USER_ID)
157 $stat = $this->lng->txt(
"svy_finished");
160 else if ($finished === 0)
162 $stat = $this->lng->txt(
"svy_not_finished");
167 $stat = $this->lng->txt(
"svy_not_started");
169 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"participation"),
170 "value" => $stat,
'propertyNameVisible' =>
false);
174 $lng->loadLanguageModule(
"survey");
175 $props[] = array(
"alert" =>
false,
"property" =>
"",
176 "value" => $lng->txt(
"survey_360_list_title"),
'propertyNameVisible' =>
false);
200 $cmd_link =
"ilias.php?baseClass=ilObjSurveyGUI&ref_id=" . $this->ref_id .
getCommandLink($a_cmd)
Get command link url.
ilObjectListGUI()
constructor
initItem($a_ref_id, $a_obj_id, $a_title="", $a_description="")
inititialize new item
getCommandFrame($a_cmd)
Get command target frame.
getProperties()
Get item properties.
_lookup360Mode($a_obj_id)
_lookupFinished($a_obj_id, $a_user_id="")
get finished status
ilObjSurveyListGUI()
constructor
_lookupCreationComplete($a_obj_id)
checks wether all necessary parts of the survey are given
_getCommands()
get commands
_lookupOnline($a_obj_id)
get status
Class ilObjSurveyListGUI.