ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilLPListOfSettingsGUI. More...
Public Member Functions | |
ilLPListOfSettingsGUI ($a_mode, $a_ref_id) | |
& | executeCommand () |
execute command | |
Public Member Functions inherited from ilLearningProgressBaseGUI | |
ilLearningProgressBaseGUI ($a_mode, $a_ref_id=0, $a_usr_id=0) | |
activePDF () | |
__checkPDF () | |
isAnonymized () | |
isObjectAnonymized () | |
getMode () | |
getRefId () | |
getObjId () | |
getUserId () | |
activateStatistics ($a_act=true) | |
__getDefaultCommand () | |
__setSubTabs ($a_active) | |
__buildFooter () | |
__buildHeader () | |
__insertPath (&$a_tpl, $a_ref_id) | |
insert path | |
__showImageByStatus (&$tpl, $a_status, $tpl_prefix="") | |
_getImagePathForStatus ($a_status) | |
Get image path for status. | |
_getStatusText ($a_status) | |
Get status alt text. | |
& | __initTableGUI () |
__showObjectDetails (&$info, $item_id=0) | |
show details about current object. | |
__appendUserInfo (&$info, $a_user) | |
__appendLPDetails (&$info, $item_id, $user_id) | |
__readStatus ($a_obj_id, $user_id) | |
__showButton ($a_link, $a_text, $a_target= '') | |
__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. | |
__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. | |
initFormSettings () | |
Init property form. | |
saveSettings () | |
Save learning progress settings. | |
getTableByMode () | |
Get tables by mode. | |
assign () | |
Save material assignment. | |
deassign () | |
save mterial assignment | |
groupMaterials () | |
Group materials. | |
releaseMaterials () | |
saveObligatoryMaterials () | |
Save obligatory state per grouped materials. |
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 | |
$statistics_activated = false |
Class ilLPListOfSettingsGUI.
Definition at line 20 of file class.ilLPListOfSettingsGUI.php.
|
protected |
Save material assignment.
Definition at line 193 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLPCollections\activate(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
save mterial assignment
Definition at line 217 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLPCollections\deactivate(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
& ilLPListOfSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 32 of file class.ilLPListOfSettingsGUI.php.
References $cmd, and ilLearningProgressBaseGUI\__getDefaultCommand().
|
protected |
Get tables by mode.
Definition at line 169 of file class.ilLPListOfSettingsGUI.php.
References ilLearningProgressBaseGUI\getRefId(), LP_MODE_COLLECTION, LP_MODE_MANUAL_BY_TUTOR, and LP_MODE_SCORM.
Referenced by saveSettings(), and show().
|
protected |
Group materials.
Definition at line 241 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLPCollections\createNewGrouping(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilLPListOfSettingsGUI::ilLPListOfSettingsGUI | ( | $a_mode, | |
$a_ref_id | |||
) |
Definition at line 22 of file class.ilLPListOfSettingsGUI.php.
References ilLearningProgressBaseGUI\getObjId(), and ilLearningProgressBaseGUI\ilLearningProgressBaseGUI().
|
protected |
Init property form.
Definition at line 62 of file class.ilLPListOfSettingsGUI.php.
References ilObjUserTracking\_getValidTimeSpan(), ilLPObjSettings\_mode2InfoText(), LP_MODE_VISITS, ilFormPropertyGUI\setRequired(), ilNumberInputGUI\setSize(), and ilNonEditableValueGUI\setValue().
Referenced by saveSettings(), and show().
|
protected |
Definition at line 264 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilLPCollections\releaseGrouping(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Save obligatory state per grouped materials.
Definition at line 286 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Save learning progress settings.
Definition at line 139 of file class.ilLPListOfSettingsGUI.php.
References getTableByMode(), initFormSettings(), LP_MODE_COLLECTION, ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Show settings tables.
Definition at line 47 of file class.ilLPListOfSettingsGUI.php.
References getTableByMode(), and initFormSettings().