ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Course LP badge gui. More...
Public Member Functions | |
initConfigForm (ilPropertyFormGUI $a_form, $a_parent_ref_id) | |
Add custom fields to form. More... | |
importConfigToForm (ilPropertyFormGUI $a_form, array $a_config) | |
Set form values. More... | |
getConfigFromForm (ilPropertyFormGUI $a_form) | |
Export values to DB. More... | |
validateForm (ilPropertyFormGUI $a_form) | |
Custom form validation. More... | |
Static Public Member Functions | |
static | getInvalidLPModes () |
Get invalid lp modes. More... | |
Protected Member Functions | |
getLPTypes ($a_parent_ref_id) | |
Protected Attributes | |
$parent_ref_id | |
ilCourseLPBadgeGUI::getConfigFromForm | ( | ilPropertyFormGUI | $a_form | ) |
Export values to DB.
ilPropertyFormGUI | $a_form |
Implements ilBadgeTypeGUI.
Definition at line 114 of file class.ilCourseLPBadgeGUI.php.
References array, and ilPropertyFormGUI\getInput().
|
static |
Get invalid lp modes.
Definition at line 125 of file class.ilCourseLPBadgeGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), array, ilLPObjSettings\LP_MODE_COLLECTION, ilLPObjSettings\LP_MODE_COLLECTION_MANUAL, ilLPObjSettings\LP_MODE_COLLECTION_MOBS, ilLPObjSettings\LP_MODE_COLLECTION_TLT, ilLPObjSettings\LP_MODE_DEACTIVATED, ilLPObjSettings\LP_MODE_MANUAL, ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ilLPObjSettings\LP_MODE_SCORM, ilLPObjSettings\LP_MODE_UNDEFINED, and ilLPObjSettings\LP_MODE_VISITS.
Referenced by initConfigForm().
|
protected |
Definition at line 48 of file class.ilCourseLPBadgeGUI.php.
References $res, ilObjUserTracking\_enabledLearningProgress(), array, ilObjectLP\getTypeClass(), and ilObjectLP\isSupportedObjectType().
Referenced by initConfigForm().
ilCourseLPBadgeGUI::importConfigToForm | ( | ilPropertyFormGUI | $a_form, |
array | $a_config | ||
) |
Set form values.
ilPropertyFormGUI | $a_form | |
array | $a_config |
Implements ilBadgeTypeGUI.
Definition at line 72 of file class.ilCourseLPBadgeGUI.php.
References $ilCtrl, $lng, and ilPropertyFormGUI\getItemByPostVar().
ilCourseLPBadgeGUI::initConfigForm | ( | ilPropertyFormGUI | $a_form, |
$a_parent_ref_id | |||
) |
Add custom fields to form.
ilPropertyFormGUI | $a_form | |
int | $a_parent_ref_id |
Implements ilBadgeTypeGUI.
Definition at line 18 of file class.ilCourseLPBadgeGUI.php.
References $lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilPropertyFormGUI\addItem(), ilRepositorySelector2InputGUI\getExplorerGUI(), ilObjectLP\getInstance(), getInvalidLPModes(), getLPTypes(), and ilRepositorySelector2InputGUI\setTitleModifier().
ilCourseLPBadgeGUI::validateForm | ( | ilPropertyFormGUI | $a_form | ) |
Custom form validation.
ilPropertyFormGUI | $a_form |
Implements ilBadgeTypeGUI.
Definition at line 168 of file class.ilCourseLPBadgeGUI.php.
References $lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), array, ilPropertyFormGUI\getInput(), ilObjectLP\getInstance(), and ilPropertyFormGUI\getItemByPostVar().
|
protected |
Definition at line 16 of file class.ilCourseLPBadgeGUI.php.