ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObjPollGUI Class Reference

Class ilObjPollGUI. More...

+ Inheritance diagram for ilObjPollGUI:
+ Collaboration diagram for ilObjPollGUI:

Public Member Functions

 __construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
 
 getType ()
 
 setTabs ()
 
 executeCommand ()
 
 render ($a_form=null)
 Render object context. More...
 
 saveQuestion ()
 
 showParticipants ()
 
 showParticipantVotes ()
 
 confirmDeleteAllVotes ()
 
 deleteAllVotes ()
 
 vote ()
 
 subscribe ()
 
 unsubscribe ()
 
 getHTML ()
 return user view More...
 
 addLocatorItems ()
 
- Public Member Functions inherited from ilObject2GUI
 __construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
 Constructor. More...
 
 executeCommand ()
 execute command More...
 
 delete ()
 Display delete confirmation form (repository/workspace switch) More...
 
 confirmedDelete ()
 Delete objects (repository/workspace switch) More...
 
 getHTML ()
 
 withReferences ()
 Final/Private declaration of unchanged parent methods. More...
 
 setCreationMode ($a_mode=true)
 
 getCreationMode ()
 
 prepareOutput ($a_show_subobjects=true)
 
 isVisible ($a_ref_id, $a_type)
 
 trash ()
 
 undelete ()
 
 cancelDelete ()
 
 removeFromSystem ()
 
 cloneAll ()
 
 view ()
 view object content (repository/workspace switch) More...
 
 getType ()
 Functions that must be overwritten. More...
 
 create ()
 Deleted in ilObject. More...
 
 save ()
 
 edit ()
 
 update ()
 
 cancel ()
 
 importFile ()
 Import. More...
 
 putObjectInTree (ilObject $a_obj, $a_parent_node_id=null)
 Add object to tree at given position. More...
 
- Public Member Functions inherited from ilObjectGUI
 executeCommand ()
 execute command More...
 
 withReferences ()
 determines wether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode ($a_mode=true)
 if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More...
 
 getCreationMode ()
 get creation mode More...
 
 prepareOutput ($a_show_subobjects=true)
 prepare output More...
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page public More...
 
 createObject ()
 create new object form More...
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 save object More...
 
 getDidacticTemplateVar ($a_type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $a_obj, $a_parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 edit object More...
 
 addExternalEditFormCustom (ilPropertyFormGUI $a_form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction ($a_cmd, $a_formaction="")
 get form action for command (command is method name without "Object", e.g. More...
 
 isVisible ($a_ref_id, $a_type)
 
 viewObject ()
 list childs of current object More...
 
 deleteObject ($a_error=false)
 Display deletion confirmation screen. More...
 
 cloneAllObject ()
 Clone single (not container object) Method is overwritten in ilContainerGUI. More...
 
 redirectAfterCreation ()
 Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More...
 

Static Public Member Functions

static _goto ($a_target)
 Deep link. More...
 
- Static Public Member Functions inherited from ilObject2GUI
static handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id)
 After creation callback. More...
 
- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot ($a_raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset")
 Goto repository root. More...
 

Protected Member Functions

 afterSave (ilObject $a_new_object)
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 
 getEditFormCustomValues (array &$a_values)
 
 validateCustom (ilPropertyFormGUI $a_form)
 
 updateCustom (ilPropertyFormGUI $a_form)
 
 initQuestionForm ($a_read_only=false)
 
 setParticipantsSubTabs ($a_active)
 
 sendNotifications ()
 
- Protected Member Functions inherited from ilObject2GUI
 afterConstructor ()
 Do anything that should be done after constructor in here. More...
 
 assignObject ()
 create object instance as internal property (repository/workspace switch) More...
 
 getAccessHandler ()
 Get access handler. More...
 
 setLocator ()
 set Locator More...
 
 deleteConfirmation ()
 Display delete confirmation form (workspace specific) More...
 
 deleteConfirmedObjects ()
 Delete objects (workspace specific) More...
 
 setTitleAndDescription ()
 
 showUpperIcon ()
 
 omitLocator ($a_omit=true)
 
 getTargetFrame ($a_cmd, $a_target_frame="")
 
 setTargetFrame ($a_cmd, $a_target_frame)
 
 getCenterColumnHTML ()
 
 getRightColumnHTML ()
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
 
 showPossibleSubObjects ()
 
 redirectToRefId ($a_ref_id, $a_cmd="")
 
 fillCloneTemplate ($a_tpl_varname, $a_type)
 
 fillCloneSearchTemplate ($a_tpl_varname, $a_type)
 
 searchCloneSource ()
 
 buildCloneSelect ($existing_objs)
 
 addAdminLocatorItems ($a_do_not_add_object=false)
 
 setTabs ()
 create tabs (repository/workspace switch) More...
 
 getReturnLocation ($a_cmd, $a_location="")
 Deprecated functions. More...
 
 setReturnLocation ($a_cmd, $a_location)
 
 showActions ()
 
 getTabs ()
 
 __showButton ($a_cmd, $a_text, $a_target='')
 
 hitsperpageObject ()
 
__initTableGUI ()
 
 __setTableGUIBasicData (&$tbl, &$result_set, $a_from="")
 
 addLocatorItems ()
 Functions to be overwritten. More...
 
 initCreationForms ($a_new_type)
 Init creation froms. More...
 
 checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
 Check permission. More...
 
 initHeaderAction ($a_sub_type=null, $a_sub_id=null)
 Add header action menu. More...
 
 redrawHeaderAction ()
 Updating icons after ajax call. More...
 
 getPermanentLinkWidget ($a_append=null, $a_center=false)
 
 handleAutoRating (ilObject $a_new_obj)
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 Get object service. More...
 
 assignObject ()
 
 setTitleAndDescription ()
 called by prepare output More...
 
 initHeaderAction ($a_sub_type=null, $a_sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction ($a_list_gui)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 showMountWebfolderIcon ()
 
 setTabs ()
 set admin tabs public More...
 
 setAdminTabs ()
 set admin tabs public More...
 
 setLocator ()
 set Locator More...
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator ($a_omit=true)
 
 addAdminLocatorItems ($a_do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 initCreationForms ($a_new_type)
 Init creation froms. More...
 
 getCreationFormsHTML (array $a_forms)
 Get HTML for creation forms (accordion) More...
 
 initCreateForm ($a_new_type)
 Init object creation form. More...
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 Show didactic template types. More...
 
 addDidacticTemplateOptions (array &$a_options)
 Add custom templates. More...
 
 afterSave (ilObject $a_new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 Init object edit form. More...
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 Get values for edit form. More...
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $a_form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $a_form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 initImportForm ($a_new_type)
 Init object import form. More...
 
 importFileObject ($parent_id=null, $a_catch_errors=true)
 Import. More...
 
 afterImport (ilObject $a_new_object)
 Post (successful) object import hook. More...
 
 setFormAction ($a_cmd, $a_formaction)
 set specific form action for command More...
 
 getReturnLocation ($a_cmd, $a_location="")
 get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation ($a_cmd, $a_location)
 set specific return location for command More...
 
 getTargetFrame ($a_cmd, $a_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame ($a_cmd, $a_target_frame)
 set specific target frame for command More...
 
 showPossibleSubObjects ()
 show possible subobjects (pulldown menu) More...
 
 getTemplateFile ($a_cmd, $a_type="")
 get a template blockfile format: tpl. More...
 
 getTabs ()
 get tabs abstract method. More...
 
 __showButton ($a_cmd, $a_text, $a_target='')
 
 hitsperpageObject ()
 
__initTableGUI ()
 
 __setTableGUIBasicData (&$tbl, &$result_set, $a_from="")
 standard implementation for tables use 'from' variable use different initial setting of table More...
 
 redirectToRefId ($a_ref_id, $a_cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More...
 
 fillCloneTemplate ($a_tpl_varname, $a_type)
 Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 May be overwritten in subclasses. More...
 
 checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
 Check permission and redirect on error. More...
 
 checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
 Check permission. More...
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 handleAutoRating (ilObject $a_new_obj)
 Activate rating automatically if parent container setting. More...
 

Protected Attributes

 $help
 
 $tabs
 
 $nav_history
 
 $ui
 
- Protected Attributes inherited from ilObject2GUI
 $object_id
 
 $node_id
 
 $creation_forms = array()
 
 $id_type = array()
 
 $parent_id
 
 $access_handler
 
- Protected Attributes inherited from ilObjectGUI
 $ilErr
 
 $locator
 
 $user
 
 $access
 
 $settings
 
 $rbacreview
 
 $toolbar
 
 $tmp_import_dir
 
 $tabs_gui = null
 
 $ctrl
 
 $object_service
 

Additional Inherited Members

- Data Fields inherited from ilObject2GUI
 $tree
 
const OBJECT_ID = 0
 
const REPOSITORY_NODE_ID = 1
 
const WORKSPACE_NODE_ID = 2
 
const REPOSITORY_OBJECT_ID = 3
 
const WORKSPACE_OBJECT_ID = 4
 
const PORTFOLIO_OBJECT_ID = 5
 
- Data Fields inherited from ilObjectGUI
const COPY_WIZARD_NEEDS_PAGE = 1
 
 $objDefinition
 
 $tpl
 
 $tree
 
 $lng
 
 $data
 
 $object
 
 $ref_id
 
 $obj_id
 
 $maxcount
 
 $formaction
 
 $return_location
 
 $target_frame
 
 $tab_target_script
 
 $actions
 
 $sub_objects
 
 $omit_locator = false
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjPollGUI::__construct (   $a_id = 0,
  $a_id_type = self::REPOSITORY_NODE_ID,
  $a_parent_node_id = 0 
)

Definition at line 40 of file class.ilObjPollGUI.php.

References $DIC, ilObjectGUI\$lng, and user().

41  {
42  global $DIC;
43 
44  $this->lng = $DIC->language();
45  $this->ctrl = $DIC->ctrl();
46  $this->help = $DIC["ilHelp"];
47  $this->tpl = $DIC["tpl"];
48  $this->tabs = $DIC->tabs();
49  $this->nav_history = $DIC["ilNavigationHistory"];
50  $this->toolbar = $DIC->toolbar();
51  $this->user = $DIC->user();
52  $this->tree = $DIC->repositoryTree();
53  $this->locator = $DIC["ilLocator"];
54  $lng = $DIC->language();
55  $this->ui = $DIC->ui();
56 
57  parent::__construct($a_id, $a_id_type, $a_parent_node_id);
58 
59  $lng->loadLanguageModule("poll");
60  }
global $DIC
Definition: saml.php:7
user()
Definition: user.php:4
+ Here is the call graph for this function:

Member Function Documentation

◆ _goto()

static ilObjPollGUI::_goto (   $a_target)
static

Deep link.

Parameters
string$a_target

Definition at line 694 of file class.ilObjPollGUI.php.

References $_GET, $DIC, $id, ilObjectGUI\$ref_id, ilObject2GUI\$tree, ilLink\_getLink(), ilObject\_lookupObjId(), exit, and ilUtil\redirect().

695  {
696  global $DIC;
697 
698  $tree = $DIC->repositoryTree();
699  $ilAccess = $DIC->access();
700 
701  $id = explode("_", $a_target);
702  $ref_id = $id[0];
703 
704  // #13728 - used in notification mostly
705  if ($ilAccess->checkAccess("write", "", $ref_id)) {
706  $_GET["baseClass"] = "ilRepositoryGUI";
707  $_GET["ref_id"] = $ref_id;
708  $_GET["cmd"] = "showParticipants";
709  include("ilias.php");
710  exit;
711  } else {
712  // is sideblock: so show parent instead
713  $container_id = $tree->getParentId($ref_id);
714 
715  // #11810
716  include_once "Services/Link/classes/class.ilLink.php";
717  ilUtil::redirect(ilLink::_getLink($container_id) .
718  "#poll" . ilObject::_lookupObjId($id[0]));
719  }
720  }
global $DIC
Definition: saml.php:7
$_GET["client_id"]
if(!array_key_exists('StateId', $_REQUEST)) $id
static _lookupObjId($a_id)
exit
Definition: backend.php:16
static redirect($a_script)
+ Here is the call graph for this function:

◆ addLocatorItems()

ilObjPollGUI::addLocatorItems ( )

Definition at line 680 of file class.ilObjPollGUI.php.

References ilObjectGUI\$locator, and ilObject2GUI\$node_id.

681  {
682  $ilLocator = $this->locator;
683 
684  if (is_object($this->object)) {
685  $ilLocator->addItem($this->object->getTitle(), $this->ctrl->getLinkTarget($this, ""), "", $this->node_id);
686  }
687  }

◆ afterSave()

ilObjPollGUI::afterSave ( ilObject  $a_new_object)
protected

Definition at line 67 of file class.ilObjPollGUI.php.

References ilObjectGUI\$ctrl, and $ilCtrl.

68  {
70 
71  ilUtil::sendSuccess($this->lng->txt("object_added"), true);
72  $ilCtrl->redirect($this, "render");
73  }
global $ilCtrl
Definition: ilias.php:18

◆ confirmDeleteAllVotes()

ilObjPollGUI::confirmDeleteAllVotes ( )

Definition at line 537 of file class.ilObjPollGUI.php.

References ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, ilObject2GUI\checkPermissionBool(), and ilUtil\sendInfo().

538  {
539  $lng = $this->lng;
540  $tpl = $this->tpl;
541  $ilTabs = $this->tabs;
542 
543  if (!$this->checkPermissionBool("write")) {
544  ilUtil::sendInfo($lng->txt("no_permission"));
545  return;
546  }
547 
548  $ilTabs->activateTab("participants");
549 
550  include_once("./Services/Utilities/classes/class.ilConfirmationGUI.php");
551  $cgui = new ilConfirmationGUI();
552  $cgui->setHeaderText($lng->txt("poll_delete_votes_sure"));
553 
554  $cgui->setFormAction($this->ctrl->getFormAction($this));
555  $cgui->setCancel($lng->txt("cancel"), "showParticipants");
556  $cgui->setConfirm($lng->txt("confirm"), "deleteAllVotes");
557 
558  $tpl->setContent($cgui->getHTML());
559  }
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
Check permission.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
Confirmation screen class.
+ Here is the call graph for this function:

◆ deleteAllVotes()

ilObjPollGUI::deleteAllVotes ( )

Definition at line 561 of file class.ilObjPollGUI.php.

References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObject2GUI\checkPermissionBool(), and ilUtil\sendInfo().

562  {
564  $lng = $this->lng;
565 
566  if (!$this->checkPermissionBool("write")) {
567  ilUtil::sendInfo($lng->txt("no_permission"));
568  return;
569  }
570 
571  $this->object->deleteAllVotes();
572 
573  $ilCtrl->redirect($this, "showParticipants");
574  }
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
Check permission.
global $ilCtrl
Definition: ilias.php:18
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
+ Here is the call graph for this function:

◆ executeCommand()

ilObjPollGUI::executeCommand ( )

Definition at line 267 of file class.ilObjPollGUI.php.

References ilObjectGUI\$ctrl, $ilCtrl, $nav_history, $tabs, ilObjectGUI\$tpl, ilObject2GUI\getAccessHandler(), ilObject2GUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), and ilObject2GUI\prepareOutput().

268  {
270  $tpl = $this->tpl;
271  $ilTabs = $this->tabs;
272  $ilNavigationHistory = $this->nav_history;
273 
274  $next_class = $ilCtrl->getNextClass($this);
275  $cmd = $ilCtrl->getCmd();
276 
277  $tpl->getStandardTemplate();
278 
279  // add entry to navigation history
280  if (!$this->getCreationMode() &&
281  $this->getAccessHandler()->checkAccess("read", "", $this->node_id)) {
282  $link = $ilCtrl->getLinkTargetByClass("ilrepositorygui", "frameset");
283  $ilNavigationHistory->addItem($this->node_id, $link, "poll");
284  }
285 
286  switch ($next_class) {
287  case "ilinfoscreengui":
288  $this->prepareOutput();
289  $this->infoScreenForward();
290  break;
291 
292  case "ilcommonactiondispatchergui":
293  include_once("Services/Object/classes/class.ilCommonActionDispatcherGUI.php");
295  $this->ctrl->forwardCommand($gui);
296  break;
297 
298  case "ilpermissiongui":
299  $this->prepareOutput();
300  $ilTabs->activateTab("id_permissions");
301  include_once("Services/AccessControl/classes/class.ilPermissionGUI.php");
302  $perm_gui = new ilPermissionGUI($this);
303  $this->ctrl->forwardCommand($perm_gui);
304  break;
305 
306  case "ilobjectcopygui":
307  include_once "./Services/Object/classes/class.ilObjectCopyGUI.php";
308  $cp = new ilObjectCopyGUI($this);
309  $cp->setType("poll");
310  $this->ctrl->forwardCommand($cp);
311  break;
312 
313  case 'ilexportgui':
314  $this->prepareOutput();
315  $ilTabs->activateTab("export");
316  include_once("./Services/Export/classes/class.ilExportGUI.php");
317  $exp_gui = new ilExportGUI($this);
318  $exp_gui->addFormat("xml");
319  $ilCtrl->forwardCommand($exp_gui);
320  break;
321 
322  default:
323  return parent::executeCommand();
324  }
325 
326  return true;
327  }
GUI class for the workflow of copying objects.
getAccessHandler()
Get access handler.
global $ilCtrl
Definition: ilias.php:18
Export User Interface Class.
prepareOutput($a_show_subobjects=true)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
+ Here is the call graph for this function:

◆ getEditFormCustomValues()

ilObjPollGUI::getEditFormCustomValues ( array &  $a_values)
protected

Definition at line 163 of file class.ilObjPollGUI.php.

References IL_CAL_UNIX.

164  {
165  include_once "Services/Object/classes/class.ilObjectActivation.php";
166 
167  $a_values["online"] = $this->object->IsOnline();
168  $a_values["results"] = $this->object->getViewResults();
169  $a_values["access_period"]["start"] = $this->object->getAccessBegin()
170  ? new ilDateTime($this->object->getAccessBegin(), IL_CAL_UNIX)
171  : null;
172  $a_values["access_period"]["end"] = $this->object->getAccessEnd()
173  ? new ilDateTime($this->object->getAccessEnd(), IL_CAL_UNIX)
174  : null;
175  $a_values["voting_period"]["start"] = $this->object->getVotingPeriodBegin()
176  ? new ilDateTime($this->object->getVotingPeriodBegin(), IL_CAL_UNIX)
177  : null;
178  $a_values["voting_period"]["end"] = $this->object->getVotingPeriodEnd()
179  ? new ilDateTime($this->object->getVotingPeriodEnd(), IL_CAL_UNIX)
180  : null;
181  $a_values["sort"] = $this->object->getSortResultByVotes();
182  $a_values["comment"] = $this->object->getShowComments();
183  $a_values["show_results_as"] = $this->object->getShowResultsAs();
184  }
const IL_CAL_UNIX
Date and time handling

◆ getHTML()

ilObjPollGUI::getHTML ( )

return user view

Returns
string

Definition at line 676 of file class.ilObjPollGUI.php.

677  {
678  }

◆ getType()

ilObjPollGUI::getType ( )

Definition at line 62 of file class.ilObjPollGUI.php.

63  {
64  return "poll";
65  }

◆ initEditCustomForm()

ilObjPollGUI::initEditCustomForm ( ilPropertyFormGUI  $a_form)
protected

Definition at line 75 of file class.ilObjPollGUI.php.

References $comment, ilObjectGUI\$lng, $results, $section, ilObject\_getAllReferences(), ilPropertyFormGUI\addItem(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilDateDurationInputGUI\setShowTime(), ilObjPoll\SHOW_RESULTS_AS_BARCHART, ilObjPoll\SHOW_RESULTS_AS_PIECHART, ilObjPoll\VIEW_RESULTS_AFTER_PERIOD, ilObjPoll\VIEW_RESULTS_AFTER_VOTE, ilObjPoll\VIEW_RESULTS_ALWAYS, and ilObjPoll\VIEW_RESULTS_NEVER.

76  {
77  $lng = $this->lng;
78 
79  // activation
80 
81  include_once "Services/Object/classes/class.ilObjectActivation.php";
82  $this->lng->loadLanguageModule('rep');
83 
85  $section->setTitle($this->lng->txt('rep_activation_availability'));
86  $a_form->addItem($section);
87 
88  // additional info only with multiple references
89  $act_obj_info = $act_ref_info = "";
90  if (sizeof(ilObject::_getAllReferences($this->object->getId())) > 1) {
91  $act_obj_info = ' ' . $this->lng->txt('rep_activation_online_object_info');
92  $act_ref_info = $this->lng->txt('rep_activation_access_ref_info');
93  }
94 
95  $online = new ilCheckboxInputGUI($this->lng->txt('rep_activation_online'), 'online');
96  $online->setInfo($this->lng->txt('poll_activation_online_info') . $act_obj_info);
97  $a_form->addItem($online);
98 
99  include_once "Services/Form/classes/class.ilDateDurationInputGUI.php";
100  $dur = new ilDateDurationInputGUI($this->lng->txt('rep_visibility_until'), "access_period");
101  $dur->setShowTime(true);
102  $a_form->addItem($dur);
103 
104 
105  // period/results
106 
108  $section->setTitle($this->lng->txt('poll_voting_period_and_results'));
109  $a_form->addItem($section);
110 
111  $vdur = new ilDateDurationInputGUI($this->lng->txt('poll_voting_period_limited'), "voting_period");
112  $vdur->setShowTime(true);
113  $a_form->addItem($vdur);
114 
115  $results = new ilRadioGroupInputGUI($lng->txt("poll_view_results"), "results");
116  $results->setRequired(true);
117  $results->addOption(new ilRadioOption(
118  $lng->txt("poll_view_results_always"),
120  ));
121  $results->addOption(new ilRadioOption(
122  $lng->txt("poll_view_results_never"),
124  ));
125  $results->addOption(new ilRadioOption(
126  $lng->txt("poll_view_results_after_vote"),
128  ));
129  $results->addOption(new ilRadioOption(
130  $lng->txt("poll_view_results_after_period"),
132  ));
133  $a_form->addItem($results);
134 
135  $show_result_as = new ilRadioGroupInputGUI($lng->txt("poll_show_results_as"), "show_results_as");
136  $show_result_as->setRequired(true);
137  $result_bar = new ilRadioOption(
138  $lng->txt("poll_barchart"),
140  );
141  $show_result_as->addOption($result_bar);
142  $show_result_as->addOption(new ilRadioOption(
143  $lng->txt("poll_piechart"),
145  ));
146  $a_form->addItem($show_result_as);
147 
148  $sort = new ilRadioGroupInputGUI($lng->txt("poll_result_sorting"), "sort");
149  $sort->setRequired(true);
150  $sort->addOption(new ilRadioOption($lng->txt("poll_result_sorting_answers"), 0));
151  $sort->addOption(new ilRadioOption($lng->txt("poll_result_sorting_votes"), 1));
152  $a_form->addItem($sort);
153 
155  $section->setTitle($this->lng->txt('poll_comments'));
156  $a_form->addItem($section);
157 
158  $comment = new ilCheckboxInputGUI($this->lng->txt('poll_comments'), 'comment');
159  //$comment->setInfo($this->lng->txt('poll_comments_info'));
160  $a_form->addItem($comment);
161  }
This class represents an option in a radio group.
const VIEW_RESULTS_AFTER_PERIOD
const VIEW_RESULTS_AFTER_VOTE
const VIEW_RESULTS_NEVER
This class represents a section header in a property form.
const VIEW_RESULTS_ALWAYS
const SHOW_RESULTS_AS_PIECHART
This class represents a checkbox property in a property form.
addItem($a_item)
Add Item (Property, SectionHeader).
static _getAllReferences($a_id)
get all reference ids of object
const SHOW_RESULTS_AS_BARCHART
setInfo($a_info)
Set Information Text.
$section
Definition: Utf8Test.php:83
input GUI for a time span (start and end date)
This class represents a property in a property form.
setShowTime($a_showtime)
Set Show Time Information.
$comment
Definition: buildRTE.php:83
$results
Definition: svg-scanner.php:47
setRequired($a_required)
Set Required.
+ Here is the call graph for this function:

◆ initQuestionForm()

ilObjPollGUI::initQuestionForm (   $a_read_only = false)
protected

Definition at line 374 of file class.ilObjPollGUI.php.

References ilObjectGUI\$ctrl, $form, $ilCtrl, $img, ilObjectGUI\$lng, ilObjPoll\getImageSize(), ilRadioOption\setInfo(), and ilFormPropertyGUI\setRequired().

Referenced by render(), and saveQuestion().

375  {
376  $lng = $this->lng;
378 
379  include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
380  $form = new ilPropertyFormGUI();
381  $form->setFormAction($ilCtrl->getFormAction($this, "saveQuestion"));
382  $form->setTitle($lng->txt("obj_poll"));
383 
384  $question = new ilTextAreaInputGUI($lng->txt("poll_question"), "question");
385  $question->setRequired(true);
386  $question->setCols(40);
387  $question->setRows(2);
388  $question->setValue($this->object->getQuestion());
389  $question->setDisabled($a_read_only);
390  $form->addItem($question);
391 
392  $dimensions = " (" . ilObjPoll::getImageSize() . "px)";
393  $img = new ilImageFileInputGUI($lng->txt("poll_image") . $dimensions, "image");
394  $img->setDisabled($a_read_only);
395  $form->addItem($img);
396 
397  // show existing file
398  $file = $this->object->getImageFullPath(true);
399  if ($file) {
400  $img->setImage($file);
401  }
402 
403  $anonymous = new ilRadioGroupInputGUI($lng->txt("poll_mode"), "mode");
404  $anonymous->setRequired(true);
405  $option = new ilRadioOption($lng->txt("poll_mode_anonymous"), 0);
406  $option->setInfo($lng->txt("poll_mode_anonymous_info"));
407  $anonymous->addOption($option);
408  $option = new ilRadioOption($lng->txt("poll_mode_personal"), 1);
409  $option->setInfo($lng->txt("poll_mode_personal_info"));
410  $anonymous->addOption($option);
411  $anonymous->setValue($this->object->getNonAnonymous());
412  $anonymous->setDisabled($a_read_only);
413  $form->addItem($anonymous);
414 
415  $nanswers = new ilNumberInputGUI($lng->txt("poll_max_number_of_answers"), "nanswers");
416  $nanswers->setRequired(true);
417  $nanswers->setMinValue(1);
418  $nanswers->setSize(3);
419  $nanswers->setValue($this->object->getMaxNumberOfAnswers());
420  $nanswers->setDisabled($a_read_only);
421  $form->addItem($nanswers);
422 
423  $answers = new ilTextInputGUI($lng->txt("poll_answers"), "answers");
424  $answers->setRequired(true);
425  $answers->setMulti(true, true);
426  $answers->setDisabled($a_read_only);
427  $form->addItem($answers);
428 
429  $multi_answers = array();
430  foreach ($this->object->getAnswers() as $idx => $item) {
431  if (!$idx) {
432  $answers->setValue($item["answer"]);
433  }
434  $multi_answers[] = $item["answer"];
435  }
436  $answers->setMultiValues($multi_answers);
437 
438  if (!$a_read_only) {
439  $form->addCommandButton("saveQuestion", $lng->txt("save"));
440  }
441 
442  return $form;
443  }
This class represents an option in a radio group.
This class represents a property form user interface.
setInfo($a_info)
Set Info.
global $ilCtrl
Definition: ilias.php:18
This class represents a property in a property form.
if(isset($_POST['submit'])) $form
This class represents a number property in a property form.
static getImageSize()
This class represents a text property in a property form.
This class represents an image file property in a property form.
This class represents a text area property in a property form.
setRequired($a_required)
Set Required.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ render()

ilObjPollGUI::render (   $a_form = null)

Render object context.

Definition at line 336 of file class.ilObjPollGUI.php.

References ilObjectGUI\$ctrl, $ilCtrl, $ilUser, ilObjectGUI\$lng, $message, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, $ui, $url, ilObjectGUI\$user, ilObject2GUI\checkPermissionBool(), initQuestionForm(), and ilUtil\sendInfo().

Referenced by saveQuestion().

337  {
338  $tpl = $this->tpl;
339  $ilTabs = $this->tabs;
341  $lng = $this->lng;
342  $ilToolbar = $this->toolbar;
344  $ui = $this->ui;
345 
346  if (!$this->checkPermissionBool("write")) {
347  ilUtil::sendInfo($lng->txt("no_permission"));
348  return;
349  }
350 
351  $ilTabs->activateTab("content");
352 
353  if (!$a_form) {
354  if ($this->object->countVotes()) {
355  $url = $ilCtrl->getLinkTarget($this, "showParticipants");
356 
357  $mbox = $ui->factory()->messageBox()->info($lng->txt("poll_votes_no_edit"))
358  ->withLinks([$ui->factory()->link()->standard(
359  $lng->txt("poll_result"),
360  $url
361  )]);
362 
363  $message = $ui->renderer()->render($mbox);
364  }
365 
366  $a_form = $this->initQuestionForm($this->object->countVotes());
367  }
368 
369  $tpl->setPermanentLink('poll', $this->node_id);
370 
371  $tpl->setContent($message . $a_form->getHTML());
372  }
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
Check permission.
initQuestionForm($a_read_only=false)
global $ilCtrl
Definition: ilias.php:18
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
catch(Exception $e) $message
$ilUser
Definition: imgupload.php:18
$url
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveQuestion()

ilObjPollGUI::saveQuestion ( )

Definition at line 445 of file class.ilObjPollGUI.php.

References $form, initQuestionForm(), and render().

446  {
447  $form = $this->initQuestionForm();
448  if ($form->checkInput()) {
449  $this->object->setQuestion($form->getInput("question"));
450  $this->object->setNonAnonymous($form->getInput("mode"));
451 
452  $image = $form->getItemByPostVar("image");
453  if ($_FILES["image"]["tmp_name"]) {
454  $this->object->uploadImage($_FILES["image"]);
455  } elseif ($image->getDeletionFlag()) {
456  $this->object->deleteImage();
457  }
458 
459  $nr_of_anwers = $this->object->saveAnswers($form->getInput("answers"));
460 
461  // #15073
462  $this->object->setMaxNumberOfAnswers(min($form->getInput("nanswers"), $nr_of_anwers));
463 
464  if ($this->object->update()) {
465  ilUtil::sendSuccess($this->lng->txt("settings_saved"), true);
466  $this->ctrl->redirect($this, "render");
467  }
468  }
469 
470  $form->setValuesByPost();
471  $this->render($form);
472  }
render($a_form=null)
Render object context.
initQuestionForm($a_read_only=false)
if(isset($_POST['submit'])) $form
+ Here is the call graph for this function:

◆ sendNotifications()

ilObjPollGUI::sendNotifications ( )
protected

Definition at line 636 of file class.ilObjPollGUI.php.

References $ilUser, ilObjectGUI\$user, $users, ilNotification\getNotificationsForObject(), ilNotification\TYPE_POLL, and ilNotification\updateNotificationTime().

Referenced by vote().

637  {
639 
640  // recipients
641  include_once "./Services/Notification/classes/class.ilNotification.php";
644  $this->object->getId(),
645  null,
646  true
647  );
648  if (!sizeof($users)) {
649  return;
650  }
651 
652  include_once "./Services/Notification/classes/class.ilSystemNotification.php";
653  $ntf = new ilSystemNotification();
654  $ntf->setLangModules(array("poll"));
655  $ntf->setRefId($this->ref_id);
656 
657  if ($this->object->getNonAnonymous()) {
658  $ntf->setChangedByUserId($ilUser->getId());
659  }
660 
661  $ntf->setSubjectLangId('poll_vote_notification_subject');
662  $ntf->setIntroductionLangId('poll_vote_notification_body');
663  $ntf->setGotoLangId('poll_vote_notification_link');
664  $ntf->setReasonLangId('poll_vote_notification_reason');
665 
666  $notified = $ntf->sendMail($users, null, "read");
667 
668  ilNotification::updateNotificationTime(ilNotification::TYPE_POLL, $this->object->getId(), $notified);
669  }
static updateNotificationTime($type, $id, array $user_ids, $page_id=false)
Update the last mail timestamp for given object and users.
static getNotificationsForObject($type, $id, $page_id=null, $ignore_threshold=false)
Get all users for given object.
$ilUser
Definition: imgupload.php:18
$users
Definition: authpage.php:44
Wrapper classes for system notifications.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setParticipantsSubTabs()

ilObjPollGUI::setParticipantsSubTabs (   $a_active)
protected

Definition at line 474 of file class.ilObjPollGUI.php.

References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and $tabs.

Referenced by showParticipants(), and showParticipantVotes().

475  {
476  $ilTabs = $this->tabs;
477  $lng = $this->lng;
479 
480  if (!$this->object->getNonAnonymous()) {
481  return;
482  }
483 
484  $ilTabs->addSubTab(
485  "result_answers",
486  $lng->txt("poll_result_answers"),
487  $ilCtrl->getLinkTarget($this, "showParticipants")
488  );
489  $ilTabs->addSubTab(
490  "result_users",
491  $lng->txt("poll_result_users"),
492  $ilCtrl->getLinkTarget($this, "showParticipantVotes")
493  );
494 
495  $ilTabs->activateSubTab($a_active);
496  }
global $ilCtrl
Definition: ilias.php:18
+ Here is the caller graph for this function:

◆ setTabs()

ilObjPollGUI::setTabs ( )

Definition at line 228 of file class.ilObjPollGUI.php.

References $help, ilObjectGUI\$lng, and ilObject2GUI\checkPermissionBool().

229  {
230  $lng = $this->lng;
231  $ilHelp = $this->help;
232 
233  $ilHelp->setScreenIdComponent("poll");
234 
235  if ($this->checkPermissionBool("write")) {
236  $this->tabs_gui->addTab(
237  "content",
238  $lng->txt("content"),
239  $this->ctrl->getLinkTarget($this, "")
240  );
241  }
242 
243  if ($this->checkPermissionBool("write")) {
244  $this->tabs_gui->addTab(
245  "settings",
246  $lng->txt("settings"),
247  $this->ctrl->getLinkTarget($this, "edit")
248  );
249 
250  $this->tabs_gui->addTab(
251  "participants",
252  $lng->txt("poll_result"),
253  $this->ctrl->getLinkTarget($this, "showParticipants")
254  );
255 
256  $this->tabs_gui->addTab(
257  "export",
258  $lng->txt("export"),
259  $this->ctrl->getLinkTargetByClass("ilexportgui", "")
260  );
261  }
262 
263  // will add permissions if needed
264  parent::setTabs();
265  }
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
Check permission.
+ Here is the call graph for this function:

◆ showParticipants()

ilObjPollGUI::showParticipants ( )

Definition at line 498 of file class.ilObjPollGUI.php.

References ilObjectGUI\$lng, $tabs, $tbl, ilObjectGUI\$tpl, ilObject2GUI\checkPermissionBool(), ilUtil\sendInfo(), and setParticipantsSubTabs().

499  {
500  $lng = $this->lng;
501  $ilTabs = $this->tabs;
502  $tpl = $this->tpl;
503 
504  if (!$this->checkPermissionBool("write")) {
505  ilUtil::sendInfo($lng->txt("no_permission"));
506  return;
507  }
508 
509  $ilTabs->activateTab("participants");
510  $this->setParticipantsSubTabs("result_answers");
511 
512  include_once "Modules/Poll/classes/class.ilPollAnswerTableGUI.php";
513  $tbl = new ilPollAnswerTableGUI($this, "showParticipants");
514  $tpl->setContent($tbl->getHTML());
515  }
setParticipantsSubTabs($a_active)
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
Check permission.
$tbl
Definition: example_048.php:81
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
TableGUI class for poll answers.
+ Here is the call graph for this function:

◆ showParticipantVotes()

ilObjPollGUI::showParticipantVotes ( )

Definition at line 517 of file class.ilObjPollGUI.php.

References ilObjectGUI\$lng, $tabs, $tbl, ilObjectGUI\$tpl, ilObject2GUI\checkPermissionBool(), ilUtil\sendInfo(), and setParticipantsSubTabs().

518  {
519  $ilTabs = $this->tabs;
520  $lng = $this->lng;
521  $tpl = $this->tpl;
522 
523  if (!$this->checkPermissionBool("write") ||
524  !$this->object->getNonAnonymous()) {
525  ilUtil::sendInfo($lng->txt("no_permission"));
526  return;
527  }
528 
529  $ilTabs->activateTab("participants");
530  $this->setParticipantsSubTabs("result_users");
531 
532  include_once "Modules/Poll/classes/class.ilPollUserTableGUI.php";
533  $tbl = new ilPollUserTableGUI($this, "showParticipantVotes");
534  $tpl->setContent($tbl->getHTML());
535  }
setParticipantsSubTabs($a_active)
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_node_id=null)
Check permission.
$tbl
Definition: example_048.php:81
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
TableGUI class for poll users.
+ Here is the call graph for this function:

◆ subscribe()

ilObjPollGUI::subscribe ( )

Definition at line 608 of file class.ilObjPollGUI.php.

References $ilUser, ilObjectGUI\$lng, ilObject2GUI\$tree, ilObjectGUI\$user, ilLink\_getLink(), ilUtil\redirect(), ilNotification\setNotification(), and ilNotification\TYPE_POLL.

609  {
611  $tree = $this->tree;
612  $lng = $this->lng;
613 
614  include_once "./Services/Notification/classes/class.ilNotification.php";
615  ilNotification::setNotification(ilNotification::TYPE_POLL, $ilUser->getId(), $this->object->getId(), true);
616 
617  ilUtil::sendSuccess($lng->txt("settings_saved"), true);
618  include_once "Services/Link/classes/class.ilLink.php";
619  ilUtil::redirect(ilLink::_getLink($tree->getParentId($this->ref_id)));
620  }
static setNotification($type, $user_id, $id, $status=true)
Set notification status for object and user.
$ilUser
Definition: imgupload.php:18
static redirect($a_script)
+ Here is the call graph for this function:

◆ unsubscribe()

ilObjPollGUI::unsubscribe ( )

Definition at line 622 of file class.ilObjPollGUI.php.

References $ilUser, ilObjectGUI\$lng, ilObject2GUI\$tree, ilObjectGUI\$user, ilLink\_getLink(), ilUtil\redirect(), ilNotification\setNotification(), and ilNotification\TYPE_POLL.

623  {
625  $tree = $this->tree;
626  $lng = $this->lng;
627 
628  include_once "./Services/Notification/classes/class.ilNotification.php";
629  ilNotification::setNotification(ilNotification::TYPE_POLL, $ilUser->getId(), $this->object->getId(), false);
630 
631  ilUtil::sendSuccess($lng->txt("settings_saved"), true);
632  include_once "Services/Link/classes/class.ilLink.php";
633  ilUtil::redirect(ilLink::_getLink($tree->getParentId($this->ref_id)));
634  }
static setNotification($type, $user_id, $id, $status=true)
Set notification status for object and user.
$ilUser
Definition: imgupload.php:18
static redirect($a_script)
+ Here is the call graph for this function:

◆ updateCustom()

ilObjPollGUI::updateCustom ( ilPropertyFormGUI  $a_form)
protected

Definition at line 198 of file class.ilObjPollGUI.php.

References ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), IL_CAL_UNIX, ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.

199  {
200  $this->object->setViewResults($a_form->getInput("results"));
201  $this->object->setOnline($a_form->getInput("online"));
202  $this->object->setSortResultByVotes($a_form->getInput("sort"));
203  $this->object->setShowComments($a_form->getInput("comment"));
204  $this->object->setShowResultsAs($a_form->getInput("show_results_as"));
205 
206  include_once "Services/Object/classes/class.ilObjectActivation.php";
207  $period = $a_form->getItemByPostVar("access_period");
208  if ($period->getStart() && $period->getEnd()) {
209  $this->object->setAccessType(ilObjectActivation::TIMINGS_ACTIVATION);
210  $this->object->setAccessBegin($period->getStart()->get(IL_CAL_UNIX));
211  $this->object->setAccessEnd($period->getEnd()->get(IL_CAL_UNIX));
212  } else {
213  $this->object->setAccessType(ilObjectActivation::TIMINGS_DEACTIVATED);
214  }
215 
216  $period = $a_form->getItemByPostVar("voting_period");
217  if ($period->getStart() && $period->getEnd()) {
218  $this->object->setVotingPeriod(1);
219  $this->object->setVotingPeriodBegin($period->getStart()->get(IL_CAL_UNIX));
220  $this->object->setVotingPeriodEnd($period->getEnd()->get(IL_CAL_UNIX));
221  } else {
222  $this->object->setVotingPeriodBegin(null);
223  $this->object->setVotingPeriodEnd(null);
224  $this->object->setVotingPeriod(0);
225  }
226  }
getItemByPostVar($a_post_var)
Get Item by POST variable.
const IL_CAL_UNIX
getInput($a_post_var, $ensureValidation=true)
Returns the value of a HTTP-POST variable, identified by the passed id.
+ Here is the call graph for this function:

◆ validateCustom()

ilObjPollGUI::validateCustom ( ilPropertyFormGUI  $a_form)
protected

Definition at line 186 of file class.ilObjPollGUI.php.

References ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilUtil\sendFailure(), and ilObjPoll\VIEW_RESULTS_AFTER_PERIOD.

187  {
188  #20594
189  if (!$a_form->getInput("voting_period") &&
190  $a_form->getInput("results") == ilObjPoll::VIEW_RESULTS_AFTER_PERIOD) {
191  ilUtil::sendFailure($this->lng->txt("form_input_not_valid"));
192  $a_form->getItemByPostVar("results")->setAlert($this->lng->txt("poll_view_results_after_period_impossible"));
193  return false;
194  }
195  return parent::validateCustom($a_form);
196  }
const VIEW_RESULTS_AFTER_PERIOD
getItemByPostVar($a_post_var)
Get Item by POST variable.
getInput($a_post_var, $ensureValidation=true)
Returns the value of a HTTP-POST variable, identified by the passed id.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
+ Here is the call graph for this function:

◆ vote()

ilObjPollGUI::vote ( )

Definition at line 576 of file class.ilObjPollGUI.php.

References $_POST, $_SESSION, $ilUser, ilObject2GUI\$tree, ilObjectGUI\$user, $valid, ilLink\_getLink(), ilUtil\redirect(), and sendNotifications().

577  {
578  $tree = $this->tree;
580 
581  $valid = true;
582  if ($this->object->getMaxNumberOfAnswers() > 1) {
583  if (sizeof($_POST["aw"]) > $this->object->getMaxNumberOfAnswers()) {
584  $valid = false;
585  }
586  if (!sizeof($_POST["aw"])) {
587  $valid = false;
588  }
589  } else {
590  if ((int) !$_POST["aw"]) {
591  $valid = false;
592  }
593  }
594 
595  if ($valid) {
596  unset($_SESSION["last_poll_vote"][$this->object->getId()]);
597  $this->object->saveVote($ilUser->getId(), $_POST["aw"]);
598 
599  $this->sendNotifications();
600  } else {
601  $_SESSION["last_poll_vote"][$this->object->getId()] = $_POST["aw"];
602  }
603 
604  include_once "Services/Link/classes/class.ilLink.php";
605  ilUtil::redirect(ilLink::_getLink($tree->getParentId($this->ref_id)));
606  }
$_SESSION["AccountId"]
$valid
$ilUser
Definition: imgupload.php:18
static redirect($a_script)
$_POST["username"]
+ Here is the call graph for this function:

Field Documentation

◆ $help

ilObjPollGUI::$help
protected

Definition at line 23 of file class.ilObjPollGUI.php.

Referenced by setTabs().

◆ $nav_history

ilObjPollGUI::$nav_history
protected

Definition at line 33 of file class.ilObjPollGUI.php.

Referenced by executeCommand().

◆ $tabs

ilObjPollGUI::$tabs
protected

◆ $ui

ilObjPollGUI::$ui
protected

Definition at line 38 of file class.ilObjPollGUI.php.

Referenced by render().


The documentation for this class was generated from the following file: