ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
setValue (array $a_value) | |
setValueByLOMDuration (string $a_value) | |
setShowSeconds (bool $status) | |
getShowSeconds () | |
getValue () | |
setValueByArray (array $a_values) | |
checkInput () | |
__buildMonthsSelect (string $sel_month) | |
__buildDaysSelect (string $sel_day) | |
insert (ilTemplate $a_tpl) | |
![]() | |
__construct (string $a_title="", string $a_postvar="") | |
executeCommand () | |
getType () | |
setTitle (string $a_title) | |
getTitle () | |
setPostVar (string $a_postvar) | |
getPostVar () | |
getFieldId () | |
setInfo (string $a_info) | |
getInfo () | |
setAlert (string $a_alert) | |
getAlert () | |
setRequired (bool $a_required) | |
getRequired () | |
setDisabled (bool $a_disabled) | |
getDisabled () | |
checkInput () | |
Check input, strip slashes etc. More... | |
setParentForm (ilPropertyFormGUI $a_parentform) | |
getParentForm () | |
setParent (ilFormPropertyGUI $a_val) | |
getParent () | |
getSubForm () | |
hideSubForm () | |
setHiddenTitle (string $a_val) | |
getHiddenTitle () | |
getItemByPostVar (string $a_post_var) | |
Get item by post var. More... | |
serializeData () | |
unserializeData (string $a_data) | |
setParentTable ($a_val) | |
Set parent table. More... | |
getParentTable () | |
Get parent table. More... | |
writeToSession () | |
clearFromSession () | |
readFromSession () | |
getHiddenTag (string $a_post_var, string $a_value) | |
setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
getMulti () | |
setMultiValues (array $a_values) | |
getMultiValues () | |
getContentOutsideFormTag () | |
Get content that has to reside outside of the parent form tag, e.g. More... | |
stripSlashesAddSpaceFallback (string $a_str) | |
Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
getTableFilterLabelFor () | |
Get label "for" attribute value for filter. More... | |
getFormLabelFor () | |
Get label "for" attribute value for form. More... | |
setRequestParam (string $key, $val) | |
This writes the request (aka post) values. More... | |
Data Fields | |
const | POST_NAME_MONTH = 'mo' |
const | POST_NAME_DAY = 'd' |
const | POST_NAME_HOUR = 'h' |
const | POST_NAME_MINUTE = 'm' |
const | POST_NAME_SECOND = 's' |
Protected Member Functions | |
getInputFromPost (string $post_name) | |
![]() | |
setType (string $a_type) | |
checkParentFormTable () | |
getSessionKey () | |
getMultiIconsHTML () | |
int ($key) | |
intArray ($key) | |
str ($key) | |
raw ($key) | |
strArray ($key) | |
arrayArray ($key) | |
isRequestParamArray (string $key) | |
getRequestParam (string $key, Refinery\Transformation $t) | |
Protected Attributes | |
array | $value |
bool | $valid = true |
string | $lom_duration = '' |
bool | $show_seconds = false |
![]() | |
array | $set_params = [] |
ilTable2GUI | $parent_table = null |
ilFormPropertyGUI | $parent_gui = null |
ilCtrl | $ctrl |
ilLanguage | $lng |
string | $type = "" |
string | $title = "" |
string | $postvar = "" |
string | $info = "" |
string | $alert = "" |
bool | $required = false |
ilPropertyFormGUI | $parentform = null |
string | $hidden_title = "" |
bool | $multi = false |
bool | $multi_sortable = false |
bool | $multi_addremove = true |
array | $multi_values = [] |
RequestInterface | $request |
HTTP Services | $http |
Refinery Factory | $refinery = null |
bool | $disabled = false |
ilGlobalTemplateInterface | $global_tpl = null |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning This class represents a typical learning time property in a property form.
Definition at line 27 of file class.ilTypicalLearningTimeInputGUI.php.
ilTypicalLearningTimeInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 40 of file class.ilTypicalLearningTimeInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), ilFormPropertyGUI\setType(), and setValue().
ilTypicalLearningTimeInputGUI::__buildDaysSelect | ( | string | $sel_day | ) |
Definition at line 132 of file class.ilTypicalLearningTimeInputGUI.php.
References $i, ilLegacyFormElementsUtil\formSelect(), and ilFormPropertyGUI\getPostVar().
Referenced by insert().
ilTypicalLearningTimeInputGUI::__buildMonthsSelect | ( | string | $sel_month | ) |
Definition at line 123 of file class.ilTypicalLearningTimeInputGUI.php.
References $i, ilLegacyFormElementsUtil\formSelect(), and ilFormPropertyGUI\getPostVar().
Referenced by insert().
ilTypicalLearningTimeInputGUI::checkInput | ( | ) |
Definition at line 105 of file class.ilTypicalLearningTimeInputGUI.php.
References getInputFromPost(), ilFormPropertyGUI\getRequired(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setAlert().
|
protected |
Definition at line 94 of file class.ilTypicalLearningTimeInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by checkInput().
ilTypicalLearningTimeInputGUI::getShowSeconds | ( | ) |
Definition at line 76 of file class.ilTypicalLearningTimeInputGUI.php.
References $show_seconds.
ilTypicalLearningTimeInputGUI::getValue | ( | ) |
Definition at line 84 of file class.ilTypicalLearningTimeInputGUI.php.
References $value.
Referenced by insert().
ilTypicalLearningTimeInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 141 of file class.ilTypicalLearningTimeInputGUI.php.
References __buildDaysSelect(), __buildMonthsSelect(), ilFormPropertyGUI\getPostVar(), getValue(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\makeTimeSelect(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilTypicalLearningTimeInputGUI::setShowSeconds | ( | bool | $status | ) |
Definition at line 71 of file class.ilTypicalLearningTimeInputGUI.php.
ilTypicalLearningTimeInputGUI::setValue | ( | array | $a_value | ) |
Definition at line 49 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by __construct(), setValueByArray(), and setValueByLOMDuration().
ilTypicalLearningTimeInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 89 of file class.ilTypicalLearningTimeInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
ilTypicalLearningTimeInputGUI::setValueByLOMDuration | ( | string | $a_value | ) |
Definition at line 54 of file class.ilTypicalLearningTimeInputGUI.php.
References ilMDUtils\_LOMDurationToArray(), and setValue().
Referenced by ilMDEditorGUI\initQuickEditForm().
|
protected |
Definition at line 37 of file class.ilTypicalLearningTimeInputGUI.php.
|
protected |
Definition at line 38 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by getShowSeconds().
|
protected |
Definition at line 36 of file class.ilTypicalLearningTimeInputGUI.php.
|
protected |
Definition at line 35 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by getValue().
const ilTypicalLearningTimeInputGUI::POST_NAME_DAY = 'd' |
Definition at line 30 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by ilMDEditorGUI\getTltPostVars().
const ilTypicalLearningTimeInputGUI::POST_NAME_HOUR = 'h' |
Definition at line 31 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by ilMDEditorGUI\getTltPostVars().
const ilTypicalLearningTimeInputGUI::POST_NAME_MINUTE = 'm' |
Definition at line 32 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by ilMDEditorGUI\getTltPostVars().
const ilTypicalLearningTimeInputGUI::POST_NAME_MONTH = 'mo' |
Definition at line 29 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by ilMDEditorGUI\getTltPostVars().
const ilTypicalLearningTimeInputGUI::POST_NAME_SECOND = 's' |
Definition at line 33 of file class.ilTypicalLearningTimeInputGUI.php.
Referenced by ilMDEditorGUI\getTltPostVars().