ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilLPListOfSettingsGUI. More...
Public Member Functions | |
__construct ($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) | |
isAnonymized () | |
getMode () | |
getRefId () | |
getObjId () | |
getUserId () | |
__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, $add_section=true) | |
show details about current object. | |
__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. | |
__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. | |
updateTLT () | |
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.
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().
|
protected |
Save material assignment.
Definition at line 196 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
save mterial assignment
Definition at line 226 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
& ilLPListOfSettingsGUI::executeCommand | ( | ) |
execute command
Definition at line 38 of file class.ilLPListOfSettingsGUI.php.
References $cmd, and ilLearningProgressBaseGUI\__getDefaultCommand().
|
protected |
Get tables by mode.
Definition at line 180 of file class.ilLPListOfSettingsGUI.php.
References ilLearningProgressBaseGUI\getRefId(), and ilLPCollectionSettingsTableGUI\parse().
Referenced by saveSettings(), and show().
|
protected |
Group materials.
Definition at line 256 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Init property form.
Definition at line 72 of file class.ilLPListOfSettingsGUI.php.
References ilObjUserTracking\_getValidTimeSpan(), ilLPObjSettings\LP_MODE_VISITS, ilFormPropertyGUI\setRequired(), ilNumberInputGUI\setSize(), and ilRadioOption\setValue().
Referenced by saveSettings(), and show().
|
protected |
Definition at line 282 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Save obligatory state per grouped materials.
Definition at line 307 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 118 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().
|
protected |
Show settings tables.
Definition at line 53 of file class.ilLPListOfSettingsGUI.php.
References getTableByMode(), and initFormSettings().
|
protected |
Definition at line 337 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), and ilUtil\sendSuccess().
|
protected |
Definition at line 23 of file class.ilLPListOfSettingsGUI.php.
|
protected |
Definition at line 22 of file class.ilLPListOfSettingsGUI.php.