ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilLPListOfSettingsGUI. More...
Public Member Functions | |
__construct ($a_mode, $a_ref_id) | |
executeCommand () | |
execute command More... | |
Public Member Functions inherited from ilLearningProgressBaseGUI | |
__construct ($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="") | |
& | __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) | |
__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 | |
$logger | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilLearningProgressBaseGUI | |
static | _showImageByStatus (&$tpl, $a_status, $tpl_prefix="") |
static | _getImagePathForStatus ($a_status) |
Get image path for status. More... | |
static | _getStatusText ($a_status, $a_lng=null) |
Get status alt text. More... | |
static | __readStatus ($a_obj_id, $user_id) |
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 202 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
save mterial assignment
Definition at line 232 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 |
Gather LP data about parent objects.
int | $a_ref_id | |
array | $a_res |
Definition at line 379 of file class.ilLPListOfSettingsGUI.php.
References $path, array, ilObjectLP\getInstance(), and ilObjectLP\isSupportedObjectType().
Referenced by handleLPUsageInfo().
|
protected |
Get tables by mode.
Definition at line 186 of file class.ilLPListOfSettingsGUI.php.
References ilLearningProgressBaseGUI\getRefId(), and ilLPCollectionSettingsTableGUI\parse().
Referenced by saveSettings(), and show().
|
protected |
Group materials.
Definition at line 262 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), array, ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 475 of file class.ilLPListOfSettingsGUI.php.
References $_GET, ilLearningProgressBaseGUI\$lng, $params, ilLearningProgressBaseGUI\$ref_id, ilLearningProgressBaseGUI\$tpl, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), array, ilPanelGUI\getInstance(), getLPPathInfo(), ilUtil\getTypeIconPath(), and ilPanelGUI\PANEL_STYLE_SECONDARY.
Referenced by show().
|
protected |
Init property form.
Definition at line 78 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 288 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), array, ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Save obligatory state per grouped materials.
Definition at line 313 of file class.ilLPListOfSettingsGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), array, ilLearningProgressBaseGUI\getObjId(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
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().
|
protected |
Show settings tables.
Definition at line 53 of file class.ilLPListOfSettingsGUI.php.
References $info, getTableByMode(), handleLPUsageInfo(), initFormSettings(), and ilUtil\sendInfo().
|
protected |
Definition at line 343 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.