ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjectActivationGUI. More...
Public Member Functions | |
__construct ($a_ref_id, $a_item_id) | |
ilObjectActivationGUI constructor. More... | |
executeCommand () | |
Execute command. More... | |
getItemId () | |
getTimingMode () | |
getParentId () | |
Get parent ref_id. More... | |
getActivation () | |
Get item object. More... | |
cancel () | |
cancel action handler More... | |
edit (ilPropertyFormGUI $form=null) | |
edit timings More... | |
update () | |
update More... | |
Protected Member Functions | |
initFormEdit () | |
init form edit More... | |
__setTabs () | |
initTimingMode () | |
Init type of timing mode. More... | |
initItem () | |
Init item. More... | |
Protected Attributes | |
$error | |
$tabs_gui | |
$access | |
$tree | |
$user | |
$help | |
$parent_ref_id | |
$item_id | |
$tpl | |
$ctrl | |
$lng | |
$timing_mode = null | |
$activation = null | |
Class ilObjectActivationGUI.
ilObjectActivationGUI: ilConditionHandlerGUI
Definition at line 11 of file class.ilObjectActivationGUI.php.
ilObjectActivationGUI::__construct | ( | $a_ref_id, | |
$a_item_id | |||
) |
ilObjectActivationGUI constructor.
$a_ref_id | |
$a_item_id |
Definition at line 83 of file class.ilObjectActivationGUI.php.
|
protected |
Definition at line 331 of file class.ilObjectActivationGUI.php.
References $_GET, $ctrl, $help, and $ilCtrl.
Referenced by executeCommand().
ilObjectActivationGUI::cancel | ( | ) |
cancel action handler
Definition at line 185 of file class.ilObjectActivationGUI.php.
ilObjectActivationGUI::edit | ( | ilPropertyFormGUI | $form = null | ) |
edit timings
public
Definition at line 197 of file class.ilObjectActivationGUI.php.
References $access, $error, $form, $GLOBALS, $ilErr, $tpl, getActivation(), getItemId(), getParentId(), initFormEdit(), ilUtil\sendInfo(), and ilObjectActivation\TIMINGS_PRESETTING.
Referenced by update().
ilObjectActivationGUI::executeCommand | ( | ) |
Execute command.
ilCtrlException |
Definition at line 110 of file class.ilObjectActivationGUI.php.
References $_GET, $tpl, __setTabs(), initItem(), initTimingMode(), and ilUtil\sendFailure().
ilObjectActivationGUI::getActivation | ( | ) |
Get item object.
Definition at line 176 of file class.ilObjectActivationGUI.php.
References $activation.
Referenced by edit(), initFormEdit(), initItem(), and update().
ilObjectActivationGUI::getItemId | ( | ) |
Definition at line 153 of file class.ilObjectActivationGUI.php.
References $item_id.
Referenced by edit(), initFormEdit(), and update().
ilObjectActivationGUI::getParentId | ( | ) |
Get parent ref_id.
Definition at line 167 of file class.ilObjectActivationGUI.php.
References $parent_ref_id.
Referenced by edit(), initItem(), and update().
ilObjectActivationGUI::getTimingMode | ( | ) |
|
protected |
init form edit
protected
Definition at line 229 of file class.ilObjectActivationGUI.php.
References $end, $form, $start, $title, $tree, ilObject\_lookupObjId(), ilObject\_lookupTitle(), getActivation(), getItemId(), IL_CAL_UNIX, ilFormPropertyGUI\setInfo(), ilCheckboxInputGUI\setValue(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by edit(), and update().
|
protected |
Init item.
Definition at line 384 of file class.ilObjectActivationGUI.php.
References getActivation(), and getParentId().
Referenced by executeCommand().
|
protected |
Init type of timing mode.
Definition at line 365 of file class.ilObjectActivationGUI.php.
References $GLOBALS, ilObject\_lookupObjId(), ilCourseConstants\IL_CRS_VIEW_TIMING_ABSOLUTE, and ilObjCourse\lookupTimingMode().
Referenced by executeCommand().
ilObjectActivationGUI::update | ( | ) |
update
public
Definition at line 275 of file class.ilObjectActivationGUI.php.
References $access, $activation, $error, $form, $ilErr, $ilUser, $tpl, $user, $valid, ilDateTime\_after(), edit(), getActivation(), getItemId(), getParentId(), IL_CAL_UNIX, initFormEdit(), ilUtil\sendFailure(), ilObjectActivation\TIMINGS_ACTIVATION, ilObjectActivation\TIMINGS_DEACTIVATED, and ilObjectActivation\TIMINGS_PRESETTING.
|
protected |
Definition at line 26 of file class.ilObjectActivationGUI.php.
|
protected |
Definition at line 76 of file class.ilObjectActivationGUI.php.
Referenced by getActivation(), and update().
|
protected |
Definition at line 61 of file class.ilObjectActivationGUI.php.
Referenced by __setTabs().
|
protected |
Definition at line 16 of file class.ilObjectActivationGUI.php.
|
protected |
Definition at line 41 of file class.ilObjectActivationGUI.php.
Referenced by __setTabs().
|
protected |
Definition at line 51 of file class.ilObjectActivationGUI.php.
Referenced by getItemId().
|
protected |
Definition at line 66 of file class.ilObjectActivationGUI.php.
|
protected |
Definition at line 46 of file class.ilObjectActivationGUI.php.
Referenced by getParentId().
|
protected |
Definition at line 21 of file class.ilObjectActivationGUI.php.
|
protected |
Definition at line 71 of file class.ilObjectActivationGUI.php.
Referenced by getTimingMode().
|
protected |
Definition at line 56 of file class.ilObjectActivationGUI.php.
Referenced by edit(), executeCommand(), and update().
|
protected |
Definition at line 31 of file class.ilObjectActivationGUI.php.
Referenced by initFormEdit().
|
protected |
Definition at line 36 of file class.ilObjectActivationGUI.php.
Referenced by update().