26        $this->lng = 
$DIC->language();
 
   27        $this->lng->loadLanguageModule(
"survey");
 
   28        $this->
user = $DIC->user();
 
   29        $this->rbacsystem = 
$DIC->rbac()->system();
 
   31        $this->info_screen_enabled = 
true;
 
   39        $this->static_link_enabled = 
true;
 
   40        $this->delete_enabled = 
true;
 
   41        $this->cut_enabled = 
true;
 
   42        $this->copy_enabled = 
true;
 
   43        $this->subscribe_enabled = 
true;
 
   44        $this->link_enabled = 
true;
 
   46        $this->gui_class_name = 
"ilobjsurveygui";
 
   94        if (!
$rbacsystem->checkAccess(
"visible,read", $this->ref_id)) {
 
   98        $props = parent::getProperties();
 
  104                $props[] = array(
"alert" => 
true,
 
  105                    "property" => 
$lng->txt(
"svy_participation"),
 
  106                    "value" => 
$lng->txt(
"svy_warning_survey_not_complete"),
 
  107                    'propertyNameVisible' => 
false);
 
  112                        $props[] = array(
"alert" => 
false, 
"property" => 
$lng->txt(
"type"),
 
  113                                         "value" => 
$lng->txt(
"survey_360_mode"), 
'propertyNameVisible' => 
true);
 
  115                        $props[] = array(
"alert" => 
false, 
"property" => 
$lng->txt(
"type"),
 
  116                                         "value" => 
$lng->txt(
"survey_360_self_evaluation"), 
'propertyNameVisible' => 
true);
 
  121                        if ($finished === 1) {
 
  122                            $stat = $this->lng->txt(
"svy_finished");
 
  125                        elseif ($finished === 0) {
 
  126                            $stat = $this->lng->txt(
"svy_not_finished");
 
  130                            $stat = $this->lng->txt(
"svy_not_started");
 
  132                        $props[] = array(
"alert" => 
false, 
"property" => 
$lng->txt(
"svy_participation"),
 
  133                            "value" => $stat, 
'propertyNameVisible' => 
true);
 
  156                $cmd_link = 
"ilias.php?baseClass=ilObjSurveyGUI&ref_id=" . $this->ref_id .
 
An exception for terminatinating execution or to throw for unit testing.
static _getCommands()
get commands
static _lookupMode($a_obj_id)
Get survey mode.
static _lookupFinished($a_obj_id, $a_user_id="")
get finished status
static _lookupCreationComplete($a_obj_id)
checks wether all necessary parts of the survey are given
Class ilObjSurveyListGUI.
getCommandLink($a_cmd)
Get command link url.
getProperties()
Get item properties.
getCommandFrame($a_cmd)
Get command target frame.
static lookupOfflineStatus($a_obj_id)
Lookup offline status using objectDataCache.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc