ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilUserStartingPointGUI. More...
Public Member Functions | |
__construct ($a_parent_ref_id) | |
Constructor public. More... | |
& | executeCommand () |
startingPoints () | |
table form to set up starting points depends of user roles More... | |
initUserStartingPointForm (ilPropertyFormGUI $form=null) | |
initRoleStartingPointForm (ilPropertyFormGUI $form=null) | |
saveOrder () | |
confirmDeleteStartingPoint () | |
Confirm delete starting point. More... | |
Protected Member Functions | |
getUserStartingPointForm () | |
getRoleStartingPointForm () | |
saveUserStartingPoint () | |
saveStartingPoint () | |
store starting point from the form More... | |
deleteStartingPoint () | |
Set to 0 the starting point values. More... | |
Protected Attributes | |
$log | |
$lng | |
$tpl | |
$parent_ref_id | |
Class ilUserStartingPointGUI.
Definition at line 13 of file class.ilUserStartingPointGUI.php.
ilUserStartingPointGUI::__construct | ( | $a_parent_ref_id | ) |
Constructor public.
Definition at line 24 of file class.ilUserStartingPointGUI.php.
References $DIC, $lng, $tpl, and ilLoggerFactory\getLogger().
ilUserStartingPointGUI::confirmDeleteStartingPoint | ( | ) |
|
protected |
Set to 0 the starting point values.
Definition at line 454 of file class.ilUserStartingPointGUI.php.
References $DIC, $ilErr, $lng, and ilUtil\sendFailure().
& ilUserStartingPointGUI::executeCommand | ( | ) |
|
protected |
Definition at line 126 of file class.ilUserStartingPointGUI.php.
References $DIC, $ilErr, $lng, $si, $valid, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilCalendarSettings\DEFAULT_CAL_DAY, ilCalendarSettings\DEFAULT_CAL_LIST, ilCalendarSettings\DEFAULT_CAL_MONTH, ilCalendarSettings\DEFAULT_CAL_WEEK, ilUserUtil\getCalendarPeriod(), ilUserUtil\getCalendarView(), ilStartingPoint\getGlobalRolesWithoutStartingPoint(), ilUserUtil\getPossibleStartingPoints(), ilUserUtil\getStartingObject(), ilUserUtil\getStartingPoint(), ilCalendarAgendaListGUI\PERIOD_DAY, ilCalendarAgendaListGUI\PERIOD_HALF_YEAR, ilCalendarAgendaListGUI\PERIOD_MONTH, ilCalendarAgendaListGUI\PERIOD_WEEK, ilStartingPoint\ROLE_BASED, ilRadioOption\setInfo(), ilFormPropertyGUI\setRequired(), ilRadioOption\setValue(), ilUserUtil\START_PD_CALENDAR, and ilUserUtil\START_REPOSITORY_OBJ.
Referenced by initRoleStartingPointForm(), and saveStartingPoint().
|
protected |
Definition at line 99 of file class.ilUserStartingPointGUI.php.
References $DIC, ilUserUtil\hasPersonalStartingPoint(), and ilFormPropertyGUI\setInfo().
Referenced by initUserStartingPointForm(), and saveUserStartingPoint().
ilUserStartingPointGUI::initRoleStartingPointForm | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 91 of file class.ilUserStartingPointGUI.php.
References getRoleStartingPointForm().
ilUserStartingPointGUI::initUserStartingPointForm | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 83 of file class.ilUserStartingPointGUI.php.
References getUserStartingPointForm().
ilUserStartingPointGUI::saveOrder | ( | ) |
|
protected |
store starting point from the form
Definition at line 308 of file class.ilUserStartingPointGUI.php.
References $_POST, $DIC, $ilErr, $tpl, ilObject\_lookupObjId(), getRoleStartingPointForm(), ilStartingPoint\ROLE_BASED, ilUtil\sendFailure(), ilUserUtil\setStartingPoint(), ilUserUtil\START_PD_CALENDAR, and ilUserUtil\START_REPOSITORY_OBJ.
|
protected |
Definition at line 280 of file class.ilUserStartingPointGUI.php.
References $DIC, $ilErr, getUserStartingPointForm(), ilUtil\sendFailure(), and ilUserUtil\togglePersonalStartingPoint().
ilUserStartingPointGUI::startingPoints | ( | ) |
table form to set up starting points depends of user roles
Definition at line 61 of file class.ilUserStartingPointGUI.php.
References ilStartingPoint\getGlobalRolesWithoutStartingPoint(), and ilUtil\sendInfo().
|
protected |
Definition at line 16 of file class.ilUserStartingPointGUI.php.
Referenced by __construct(), confirmDeleteStartingPoint(), deleteStartingPoint(), getRoleStartingPointForm(), and saveOrder().
|
protected |
Definition at line 15 of file class.ilUserStartingPointGUI.php.
|
protected |
Definition at line 18 of file class.ilUserStartingPointGUI.php.
|
protected |
Definition at line 17 of file class.ilUserStartingPointGUI.php.
Referenced by __construct(), confirmDeleteStartingPoint(), and saveStartingPoint().