|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilLPListOfSettingsGUI. More...
Inheritance diagram for ilLPListOfSettingsGUI:
Collaboration diagram for ilLPListOfSettingsGUI:Public Member Functions | |
| __construct ($a_mode, $a_ref_id) | |
| & | executeCommand () |
| execute command More... | |
Public Member Functions inherited from ilLearningProgressBaseGUI | |
| ilLearningProgressBaseGUI ($a_mode, $a_ref_id=0, $a_usr_id=0) | |
| isAnonymized () | |
| getMode () | |
| getRefId () | |
| getObjId () | |
| getUserId () | |
| __getDefaultCommand () | |
| __setSubTabs ($a_active) | |
| __buildFooter () | |
| __buildHeader () | |
| __insertPath (&$a_tpl, $a_ref_id) | |
| insert path More... | |
| __showImageByStatus (&$tpl, $a_status, $tpl_prefix="") | |
| _getImagePathForStatus ($a_status) | |
| Get image path for status. More... | |
| _getStatusText ($a_status, $a_lng=null) | |
| Get status alt text. More... | |
| & | __initTableGUI () |
| __showObjectDetails (&$info, $item_id=0, $add_section=true) | |
| show details about current object. More... | |
| __appendUserInfo (&$info, $a_user) | |
| __appendLPDetails (&$info, $item_id, $user_id) | |
| __readStatus ($a_obj_id, $user_id) | |
| __sort ($a_ids, $a_table, $a_field, $a_id_name) | |
| Function that sorts ids by a given table field using WHERE IN E.g: __sort(array(6,7),'usr_data','lastname','usr_id') => sorts by lastname. More... | |
| __getPercent ($max, $reached) | |
| __readItemStatusInfo ($a_items) | |
| __getLegendHTML () | |
| __showEditUser ($a_user_id, $a_ref_id, $a_cancel, $a_sub_id=false) | |
| __updateUser ($user_id, $obj_id) | |
Protected Member Functions | |
| show () | |
| Show settings tables. More... | |
| initFormSettings () | |
| Init property form. More... | |
| saveSettings () | |
| Save learning progress settings. More... | |
| getTableByMode () | |
| Get tables by mode. More... | |
| assign () | |
| Save material assignment. More... | |
| deassign () | |
| save mterial assignment More... | |
| groupMaterials () | |
| Group materials. More... | |
| releaseMaterials () | |
| saveObligatoryMaterials () | |
| Save obligatory state per grouped materials. More... | |
| updateTLT () | |
| getLPPathInfo ($a_ref_id, array &$a_res) | |
| Gather LP data about parent objects. More... | |
| handleLPUsageInfo () | |
Protected Member Functions inherited from ilLearningProgressBaseGUI | |
| initEditUserForm ($a_user_id, $a_obj_id, $a_cancel=null) | |
Protected Attributes | |
| $obj_settings | |
| $obj_lp | |
Protected Attributes inherited from ilLearningProgressBaseGUI | |
| $anonymized | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilLearningProgressBaseGUI | |
| static | _showImageByStatus (&$tpl, $a_status, $tpl_prefix="") |
| static | isObjectOffline ($a_obj_id, $a_type=null) |
Data Fields inherited from ilLearningProgressBaseGUI | |
| $tpl = null | |
| $ctrl = null | |
| $lng = null | |
| $ref_id = 0 | |
| $mode = 0 | |
| const | LP_CONTEXT_PERSONAL_DESKTOP = 1 |
| const | LP_CONTEXT_ADMINISTRATION = 2 |
| const | LP_CONTEXT_REPOSITORY = 3 |
| const | LP_CONTEXT_USER_FOLDER = 4 |
| const | LP_CONTEXT_ORG_UNIT = 5 |
| const | LP_ACTIVE_SETTINGS = 1 |
| const | LP_ACTIVE_OBJECTS = 2 |
| const | LP_ACTIVE_PROGRESS = 3 |
| const | LP_ACTIVE_USERS = 5 |
| const | LP_ACTIVE_SUMMARY = 6 |
| const | LP_ACTIVE_OBJSTATACCESS = 7 |
| const | LP_ACTIVE_OBJSTATTYPES = 8 |
| const | LP_ACTIVE_OBJSTATDAILY = 9 |
| const | LP_ACTIVE_OBJSTATADMIN = 10 |
| const | LP_ACTIVE_MATRIX = 11 |
Class ilLPListOfSettingsGUI.
@ilCtrl_Calls ilLPListOfSettingsGUI:
Definition at line 20 of file class.ilLPListOfSettingsGUI.php.
| ilLPListOfSettingsGUI::__construct | ( | $a_mode, | |
| $a_ref_id | |||
| ) |
Definition at line 25 of file class.ilLPListOfSettingsGUI.php.
References ilObjectLP\getInstance(), and ilLearningProgressBaseGUI\getObjId().
Here is the call graph for this function:
|
protected |
Save material assignment.
Definition at line 202 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
save mterial assignment
Definition at line 232 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| & ilLPListOfSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 38 of file class.ilLPListOfSettingsGUI.php.
References $cmd, and ilLearningProgressBaseGUI\__getDefaultCommand().
Here is the call graph for this function:
|
protected |
Gather LP data about parent objects.
| int | $a_ref_id | |
| array | $a_res |
Definition at line 379 of file class.ilLPListOfSettingsGUI.php.
References $path, ilObjectLP\getInstance(), and ilObjectLP\isSupportedObjectType().
Referenced by handleLPUsageInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get tables by mode.
Definition at line 186 of file class.ilLPListOfSettingsGUI.php.
References ilLearningProgressBaseGUI\getRefId().
Referenced by saveSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Group materials.
Definition at line 262 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Definition at line 475 of file class.ilLPListOfSettingsGUI.php.
References $_GET, $_REQUEST, ilLearningProgressBaseGUI\$lng, $params, ilLearningProgressBaseGUI\$ref_id, ilLearningProgressBaseGUI\$tpl, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilPanelGUI\getInstance(), getLPPathInfo(), ilUtil\getTypeIconPath(), and ilPanelGUI\PANEL_STYLE_SECONDARY.
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init property form.
Definition at line 78 of file class.ilLPListOfSettingsGUI.php.
References ilObjUserTracking\_getValidTimeSpan(), and ilLPObjSettings\LP_MODE_VISITS.
Referenced by saveSettings(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 288 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Save obligatory state per grouped materials.
Definition at line 313 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Save learning progress settings.
Definition at line 124 of file class.ilLPListOfSettingsGUI.php.
References getTableByMode(), initFormSettings(), ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ilLPObjSettings\LP_MODE_VISITS, ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Show settings tables.
Definition at line 53 of file class.ilLPListOfSettingsGUI.php.
References $info, handleLPUsageInfo(), initFormSettings(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Definition at line 343 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Definition at line 23 of file class.ilLPListOfSettingsGUI.php.
|
protected |
Definition at line 22 of file class.ilLPListOfSettingsGUI.php.