ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilObjIndividualAssessmentGUI Class Reference

For the purpose of streamlining the grading and learning-process status definition outside of tests, SCORM courses e.t.c. More...

+ Inheritance diagram for ilObjIndividualAssessmentGUI:
+ Collaboration diagram for ilObjIndividualAssessmentGUI:

Public Member Functions

 __construct ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true)
 
 addLocatorItems ()
 
 executeCommand ()
 
 tabsGUI ()
 
 viewObject ()
 
 membersObject ()
 
 getTabs ()
 
 getBaseEditForm ()
 
 handleAccessViolation ()
 
 addToNavigationHistory ()
 
 setScreenId ($component, $id, $sub_id)
 
- 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...
 
 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...
 

Static Public Member Functions

static _goto ($a_target, $a_add='')
 
- 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...
 

Data Fields

const TAB_SETTINGS = 'settings'
 
const TAB_INFO = 'info_short'
 
const TAB_PERMISSION = 'perm_settings'
 
const TAB_MEMBERS = 'members'
 
const TAB_LP = 'learning_progress'
 
const TAB_EXPORT = 'export'
 
- Data Fields inherited from ilObjectGUI
const COPY_WIZARD_NEEDS_PAGE = 1
 
 $ilias
 
 $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
 

Protected Member Functions

 buildInfoScreen ()
 
 addMemberDataToInfo (ilInfoScreenGUI $info)
 
 addGeneralDataToInfo (ilInfoScreenGUI $info)
 
 addContactDataToInfo (ilInfoScreenGUI $info)
 
 shouldShowContactInfo (ilIndividualAssessmentInfoSettings $info_settings)
 
 getLinkTarget ($a_cmd)
 
 getEntryForStatus ($a_status)
 
 afterSave (ilObject $a_new_object)
 
- Protected Member Functions inherited from ilObjectGUI
 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...
 
 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...
 
 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...
 

Additional Inherited Members

- Protected Attributes inherited from ilObjectGUI
 $tmp_import_dir
 
 $tabs_gui = null
 
 $ctrl
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjIndividualAssessmentGUI::__construct (   $a_data,
  $a_id = 0,
  $a_call_by_reference = true,
  $a_prepare_output = true 
)

Definition at line 32 of file class.ilObjIndividualAssessmentGUI.php.

References $DIC, and setScreenId().

32  {
33 
34  global $DIC, $ilHelp;
35  $this->ilNavigationHistory = $DIC['ilNavigationHistory'];
36  $this->type = 'iass';
37  $this->tpl = $DIC['tpl'];
38  $this->ctrl = $DIC['ilCtrl'];
39  $this->usr = $DIC['ilUser'];
40  $this->ilias = $DIC['ilias'];
41  $this->lng = $DIC['lng'];
42  $this->ilAccess = $DIC['ilAccess'];
43  $this->lng->loadLanguageModule('iass');
44  $this->tpl->getStandardTemplate();
45  $this->locator = $DIC['ilLocator'];
46  $this->g_help = $ilHelp;
47  $this->setScreenId("iass", "", "");
48  parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
49  }
redirection script todo: (a better solution should control the processing via a xml file) ...
Navigation History of Repository Items.
global $DIC
+ Here is the call graph for this function:

Member Function Documentation

◆ _goto()

static ilObjIndividualAssessmentGUI::_goto (   $a_target,
  $a_add = '' 
)
static

Definition at line 288 of file class.ilObjIndividualAssessmentGUI.php.

References $DIC, and ilObjectGUI\_gotoRepositoryNode().

288  {
289  global $DIC;
290  if ($DIC['ilAccess']->checkAccess( 'read', '', $a_target)) {
291  ilObjectGUI::_gotoRepositoryNode($a_target, 'view');
292  }
293  }
static _gotoRepositoryNode($a_ref_id, $a_cmd="frameset")
Goto repository root.
global $DIC
+ Here is the call graph for this function:

◆ addContactDataToInfo()

ilObjIndividualAssessmentGUI::addContactDataToInfo ( ilInfoScreenGUI  $info)
protected

Definition at line 176 of file class.ilObjIndividualAssessmentGUI.php.

References $info, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), and shouldShowContactInfo().

Referenced by buildInfoScreen().

176  {
177  $info_settings = $this->object->getInfoSettings();
178  if($this->shouldShowContactInfo($info_settings)) {
179  $info->addSection($this->lng->txt('iass_contact_info'));
180  $info->addProperty($this->lng->txt('iass_contact'),$info_settings->contact());
181  $info->addProperty($this->lng->txt('iass_responsibility'),$info_settings->responsibility());
182  $info->addProperty($this->lng->txt('iass_phone'),$info_settings->phone());
183  $info->addProperty($this->lng->txt('iass_mails'),$info_settings->mails());
184  $info->addProperty($this->lng->txt('iass_consultation_hours'),$info_settings->consultationHours());
185  }
186  return $info;
187  }
shouldShowContactInfo(ilIndividualAssessmentInfoSettings $info_settings)
addSection($a_title)
add a new section
$info
Definition: example_052.php:80
addProperty($a_name, $a_value, $a_link="")
add a property to current section
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addGeneralDataToInfo()

ilObjIndividualAssessmentGUI::addGeneralDataToInfo ( ilInfoScreenGUI  $info)
protected

Definition at line 167 of file class.ilObjIndividualAssessmentGUI.php.

References $info, ilInfoScreenGUI\addProperty(), and ilInfoScreenGUI\addSection().

Referenced by buildInfoScreen().

167  {
168  $content = $this->object->getSettings()->content();
169  if($content !== null && $content !== '') {
170  $info->addSection($this->lng->txt('general'));
171  $info->addProperty($this->lng->txt('content'),$content);
172  }
173  return $info;
174  }
addSection($a_title)
add a new section
$info
Definition: example_052.php:80
addProperty($a_name, $a_value, $a_link="")
add a property to current section
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addLocatorItems()

ilObjIndividualAssessmentGUI::addLocatorItems ( )

Definition at line 51 of file class.ilObjIndividualAssessmentGUI.php.

References object.

51  {
52 
53  if (is_object($this->object)) {
54  $this->locator->addItem($this->object->getTitle(), $this->ctrl->getLinkTarget($this, "view"), "", $this->object->getRefId());
55  }
56  }
Create new PHPExcel object
obj_idprivate

◆ addMemberDataToInfo()

ilObjIndividualAssessmentGUI::addMemberDataToInfo ( ilInfoScreenGUI  $info)
protected

Definition at line 155 of file class.ilObjIndividualAssessmentGUI.php.

References $info, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), and getEntryForStatus().

Referenced by buildInfoScreen().

155  {
156  $member = $this->object->membersStorage()->loadMember($this->object,$this->usr);
157  $info->addSection($this->lng->txt('grading_info'));
158  if( $member->finalized()) {
159  $info->addProperty($this->lng->txt('grading'),$this->getEntryForStatus($member->LPStatus()));
160  }
161  if($member->notify() && $member->finalized()) {
162  $info->addProperty($this->lng->txt('grading_record'), nl2br($member->record()));
163  }
164  return $info;
165  }
addSection($a_title)
add a new section
$info
Definition: example_052.php:80
addProperty($a_name, $a_value, $a_link="")
add a property to current section
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addToNavigationHistory()

ilObjIndividualAssessmentGUI::addToNavigationHistory ( )

Definition at line 315 of file class.ilObjIndividualAssessmentGUI.php.

References $_GET, ilNavigationHistory\addItem(), and ilObjectGUI\getCreationMode().

Referenced by executeCommand().

315  {
316  if(!$this->getCreationMode()) {
317  $access_handler = $this->object->accessHandler();
318  if($access_handler->checkAccessToObj($this->object,'read')) {
319  $link = $this->ctrl->getLinkTargetByClass("ilrepositorygui", "frameset");
320  $this->ilNavigationHistory->addItem($_GET['ref_id'], $link, 'iass');
321  }
322  }
323  }
$_GET["client_id"]
Navigation History of Repository Items.
getCreationMode()
get creation mode
addItem($a_ref_id, $a_link, $a_type, $a_title="", $a_sub_obj_id="", $a_goto_link="")
Add an item to the stack.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ afterSave()

ilObjIndividualAssessmentGUI::afterSave ( ilObject  $a_new_object)
protected

Definition at line 309 of file class.ilObjIndividualAssessmentGUI.php.

References ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().

309  {
310  ilUtil::sendSuccess($this->lng->txt("iass_added"),true);
311  $this->ctrl->setParameter($this, "ref_id", $a_new_object->getRefId());
312  ilUtil::redirect($this->ctrl->getLinkTargetByClass('ilIndividualassessmentsettingsgui', 'edit', '', false, false));
313  }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
getRefId()
get reference id public
static redirect($a_script)
http redirect to other script
+ Here is the call graph for this function:

◆ buildInfoScreen()

ilObjIndividualAssessmentGUI::buildInfoScreen ( )
protected

Definition at line 143 of file class.ilObjIndividualAssessmentGUI.php.

References $info, addContactDataToInfo(), addGeneralDataToInfo(), addMemberDataToInfo(), and object.

Referenced by executeCommand(), and viewObject().

143  {
144  $info = new ilInfoScreenGUI($this);
145  if($this->object) {
146  $info = $this->addGeneralDataToInfo($info);
147  if($this->object->loadMembers()->userAllreadyMember($this->usr)) {
148  $info = $this->addMemberDataToInfo($info);
149  }
150  $info = $this->addContactDataToInfo($info);
151  }
152  return $info;
153  }
Class ilInfoScreenGUI.
$info
Definition: example_052.php:80
Create new PHPExcel object
obj_idprivate
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjIndividualAssessmentGUI::executeCommand ( )

Definition at line 58 of file class.ilObjIndividualAssessmentGUI.php.

References $cmd, $info, $ret, addToNavigationHistory(), buildInfoScreen(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), handleAccessViolation(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, membersObject(), object, and ilObjectGUI\prepareOutput().

58  {
59  $next_class = $this->ctrl->getNextClass($this);
60  $cmd = $this->ctrl->getCmd();
61  $this->prepareOutput();
62  $this->addToNavigationHistory();
63  switch($next_class) {
64  case 'ilpermissiongui':
65  $this->tabs_gui->setTabActive(self::TAB_PERMISSION);
66  require_once 'Services/AccessControl/classes/class.ilPermissionGUI.php';
67  $ilPermissionGUI = new ilPermissionGUI($this);
68  $this->ctrl->forwardCommand($ilPermissionGUI);
69  break;
70  case 'ilindividualassessmentsettingsgui':
71  $this->tabs_gui->setTabActive(self::TAB_SETTINGS);
72  require_once 'Modules/IndividualAssessment/classes/class.ilIndividualAssessmentSettingsGUI.php';
73  $gui = new ilIndividualAssessmentSettingsGUI($this, $this->ref_id);
74  $this->ctrl->forwardCommand($gui);
75  break;
76  case 'ilindividualassessmentmembersgui':
77  $this->membersObject();
78  break;
79  case 'ilinfoscreengui':
80  $this->tabs_gui->setTabActive(self::TAB_INFO);
81  require_once 'Services/InfoScreen/classes/class.ilInfoScreenGUI.php';
82  $info = $this->buildInfoScreen();
83  $this->ctrl->forwardCommand($info);
84  break;
85  case 'illearningprogressgui':
86  if(!$this->object->access_handler->checkAccessToObj($this->object,'read')) {
87  $this->handleAccessViolation();
88  }
89  require_once 'Services/Tracking/classes/class.ilLearningProgressGUI.php';
90  $this->tabs_gui->setTabActive(self::TAB_LP);
91  $learning_progress = new ilLearningProgressGUI(
93  $this->object->getRefId(),
94  $this->usr->getId());
95  $this->ctrl->forwardCommand($learning_progress);
96  break;
97  case "ilcommonactiondispatchergui":
98  include_once("Services/Object/classes/class.ilCommonActionDispatcherGUI.php");
100  $this->ctrl->forwardCommand($gui);
101  break;
102  case "ilexportgui":
103  include_once("./Services/Export/classes/class.ilExportGUI.php");
104  $this->tabs_gui->setTabActive(self::TAB_EXPORT);
105  $exp_gui = new ilExportGUI($this); // $this is the ilObj...GUI class of the resource
106  $exp_gui->addFormat("xml");
107  $ret = $this->ctrl->forwardCommand($exp_gui);
108  break;
109  default:
110  if(!$cmd) {
111  $cmd = 'view';
112  if($this->object->access_handler->checkAccessToObj($this->object, 'edit_members')) {
113  $this->ctrl->setCmdClass('ilIndividualassessmentmembersgui');
114  $cmd = 'members';
115  }
116  }
117  $cmd .= 'Object';
118  $this->$cmd();
119  }
120  return true;
121  }
$cmd
Definition: sahs_server.php:35
Export User Interface Class.
$info
Definition: example_052.php:80
prepareOutput($a_show_subobjects=true)
prepare output
Create new PHPExcel object
obj_idprivate
$ret
Definition: parser.php:6
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
Class ilObjUserTrackingGUI.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
+ Here is the call graph for this function:

◆ getBaseEditForm()

ilObjIndividualAssessmentGUI::getBaseEditForm ( )

Definition at line 279 of file class.ilObjIndividualAssessmentGUI.php.

References ilObjectGUI\initEditForm().

279  {
280  return $this->initEditForm();
281  }
initEditForm()
Init object edit form.
+ Here is the call graph for this function:

◆ getEntryForStatus()

ilObjIndividualAssessmentGUI::getEntryForStatus (   $a_status)
protected

Definition at line 295 of file class.ilObjIndividualAssessmentGUI.php.

References ilIndividualAssessmentMembers\LP_COMPLETED, ilIndividualAssessmentMembers\LP_FAILED, and ilIndividualAssessmentMembers\LP_IN_PROGRESS.

Referenced by addMemberDataToInfo().

295  {
296  switch($a_status) {
298  return $this->lng->txt('iass_status_pending');
299  break;
301  return $this->lng->txt('iass_status_completed');
302  break;
304  return $this->lng->txt('iass_status_failed');
305  break;
306  }
307  }
+ Here is the caller graph for this function:

◆ getLinkTarget()

ilObjIndividualAssessmentGUI::getLinkTarget (   $a_cmd)
protected

Definition at line 266 of file class.ilObjIndividualAssessmentGUI.php.

Referenced by getTabs().

266  {
267  if ($a_cmd == 'settings') {
268  return $this->ctrl->getLinkTargetByClass('ilindividualassessmentsettingsgui', 'edit');
269  }
270  if ($a_cmd == 'info') {
271  return $this->ctrl->getLinkTarget($this,'view');
272  }
273  if ($a_cmd == 'members') {
274  return $this->ctrl->getLinkTargetByClass('ilindividualassessmentmembersgui', 'view');
275  }
276  return $this->ctrl->getLinkTarget($this, $a_cmd);
277  }
+ Here is the caller graph for this function:

◆ getTabs()

ilObjIndividualAssessmentGUI::getTabs ( )

Definition at line 213 of file class.ilObjIndividualAssessmentGUI.php.

References ilObjUserTracking\_enabledLearningProgress(), array, and getLinkTarget().

213  {
214  $access_handler = $this->object->accessHandler();
215  if($access_handler->checkAccessToObj($this->object,'read')) {
216  $this->tabs_gui->addTab( self::TAB_INFO
217  , $this->lng->txt('info_short')
218  , $this->getLinkTarget('info')
219  );
220  }
221  if($access_handler->checkAccessToObj($this->object,'write')) {
222  $this->tabs_gui->addTab( self::TAB_SETTINGS
223  , $this->lng->txt('settings')
224  , $this->getLinkTarget('settings')
225  );
226  }
227  if($access_handler->checkAccessToObj($this->object,'edit_members')
228  || $access_handler->checkAccessToObj($this->object,'edit_learning_progress')
229  || $access_handler->checkAccessToObj($this->object,'read_learning_progress') ) {
230  $this->tabs_gui->addTab( self::TAB_MEMBERS
231  , $this->lng->txt('il_iass_members')
232  , $this->getLinkTarget('members')
233  );
234  }
235  if(($access_handler->checkAccessToObj($this->object,'read_learning_progress')
236  || $access_handler->checkAccessToObj($this->object,'edit_learning_progress')
237  || ($this->object->loadMembers()->userAllreadyMember($this->usr)
238  && $this->object->isActiveLP()))
240  $this->tabs_gui->addTab(self::TAB_LP
241  , $this->lng->txt('learning_progress')
242  , $this->ctrl->getLinkTargetByClass('illearningprogressgui')
243  );
244  }
245 
246  if($access_handler->checkAccessToObj($this->object,'write'))
247  {
248  $this->tabs_gui->addTarget(
249  self::TAB_EXPORT,
250  $this->ctrl->getLinkTargetByClass('ilexportgui',''),
251  'export',
252  'ilexportgui'
253  );
254  }
255 
256  if($access_handler->checkAccessToObj($this->object,'edit_permission')) {
257  $this->tabs_gui->addTarget(self::TAB_PERMISSION
258  , $this->ctrl->getLinkTargetByClass('ilpermissiongui', 'perm')
259  , array()
260  , 'ilpermissiongui'
261  );
262  }
263  parent::getTabs();
264  }
static _enabledLearningProgress()
check wether learing progress is enabled or not
Create styles array
The data for the language used.
+ Here is the call graph for this function:

◆ handleAccessViolation()

ilObjIndividualAssessmentGUI::handleAccessViolation ( )

Definition at line 283 of file class.ilObjIndividualAssessmentGUI.php.

References $DIC.

Referenced by executeCommand().

283  {
284  global $DIC;
285  $DIC['ilias']->raiseError($DIC['lng']->txt("msg_no_perm_read"), $DIC['ilias']->error_obj->WARNING);
286  }
global $DIC
+ Here is the caller graph for this function:

◆ membersObject()

ilObjIndividualAssessmentGUI::membersObject ( )

Definition at line 136 of file class.ilObjIndividualAssessmentGUI.php.

Referenced by executeCommand().

136  {
137  $this->tabs_gui->setTabActive(self::TAB_MEMBERS);
138  require_once 'Modules/IndividualAssessment/classes/class.ilIndividualAssessmentMembersGUI.php';
139  $gui = new ilIndividualAssessmentMembersGUI($this, $this->ref_id);
140  $this->ctrl->forwardCommand($gui);
141  }
For the purpose of streamlining the grading and learning-process status definition outside of tests...
+ Here is the caller graph for this function:

◆ setScreenId()

ilObjIndividualAssessmentGUI::setScreenId (   $component,
  $id,
  $sub_id 
)

Definition at line 325 of file class.ilObjIndividualAssessmentGUI.php.

Referenced by __construct().

326  {
327  $this->g_help->setScreenIdComponent($component);
328  $this->g_help->setScreenId($id);
329  $this->g_help->setSubScreenId($sub_id);
330  }
+ Here is the caller graph for this function:

◆ shouldShowContactInfo()

ilObjIndividualAssessmentGUI::shouldShowContactInfo ( ilIndividualAssessmentInfoSettings  $info_settings)
protected

Definition at line 189 of file class.ilObjIndividualAssessmentGUI.php.

References ilIndividualAssessmentInfoSettings\consultationHours(), ilIndividualAssessmentInfoSettings\contact(), ilIndividualAssessmentInfoSettings\mails(), ilIndividualAssessmentInfoSettings\phone(), and ilIndividualAssessmentInfoSettings\responsibility().

Referenced by addContactDataToInfo().

189  {
190  $val = $info_settings->contact();
191  if($val !== null && $val !== '') {
192  return true;
193  }
194  $val = $info_settings->responsibility();
195  if($val !== null && $val !== '') {
196  return true;
197  }
198  $val = $info_settings->phone();
199  if($val !== null && $val !== '') {
200  return true;
201  }
202  $val = $info_settings->mails();
203  if($val !== null && $val !== '') {
204  return true;
205  }
206  $val = $info_settings->consultationHours();
207  if($val !== null && $val !== '') {
208  return true;
209  }
210  return false;
211 }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tabsGUI()

ilObjIndividualAssessmentGUI::tabsGUI ( )

Definition at line 123 of file class.ilObjIndividualAssessmentGUI.php.

References ilObjectGUI\$tabs_gui.

123  {
124  return $this->tabs_gui;
125  }

◆ viewObject()

ilObjIndividualAssessmentGUI::viewObject ( )

Definition at line 127 of file class.ilObjIndividualAssessmentGUI.php.

References $info, and buildInfoScreen().

127  {
128  $this->tabs_gui->setTabActive(self::TAB_INFO);
129  require_once 'Services/InfoScreen/classes/class.ilInfoScreenGUI.php';
130  $this->ctrl->setCmd('showSummary');
131  $this->ctrl->setCmdClass('ilinfoscreengui');
132  $info = $this->buildInfoScreen();
133  $this->ctrl->forwardCommand($info);
134  }
$info
Definition: example_052.php:80
+ Here is the call graph for this function:

Field Documentation

◆ TAB_EXPORT

const ilObjIndividualAssessmentGUI::TAB_EXPORT = 'export'

Definition at line 31 of file class.ilObjIndividualAssessmentGUI.php.

◆ TAB_INFO

const ilObjIndividualAssessmentGUI::TAB_INFO = 'info_short'

Definition at line 27 of file class.ilObjIndividualAssessmentGUI.php.

◆ TAB_LP

const ilObjIndividualAssessmentGUI::TAB_LP = 'learning_progress'

Definition at line 30 of file class.ilObjIndividualAssessmentGUI.php.

◆ TAB_MEMBERS

const ilObjIndividualAssessmentGUI::TAB_MEMBERS = 'members'

Definition at line 29 of file class.ilObjIndividualAssessmentGUI.php.

◆ TAB_PERMISSION

const ilObjIndividualAssessmentGUI::TAB_PERMISSION = 'perm_settings'

Definition at line 28 of file class.ilObjIndividualAssessmentGUI.php.

◆ TAB_SETTINGS

const ilObjIndividualAssessmentGUI::TAB_SETTINGS = 'settings'

Definition at line 26 of file class.ilObjIndividualAssessmentGUI.php.


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