ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
setValue ($a_value) | |
Set Value. More... | |
getValue () | |
setValueCombination ($value) | |
getValueCombination () | |
setValueCombinationFromDb ($value) | |
checkInput () | |
setValueByArray ($data) | |
insert (ilTemplate $template) | |
![]() | |
addSubItem (ilFormPropertyGUI $a_item) | |
getSubItems () | |
getSubInputItemsRecursive () | |
returns a flat array of possibly existing subitems recursively More... | |
checkSubItemsInput () | |
Check SubItems. More... | |
getSubForm () | |
getItemByPostVar (string $a_post_var) | |
![]() | |
__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... | |
Static Public Member Functions | |
static | stripSlashesRecursive ($a_data, bool $a_strip_html=true, string $a_allow="") |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
Private Attributes | |
$value_combination | |
$value | |
ArrayBasedRequestWrapper | $post |
ArrayBasedRequestWrapper | $query |
Additional Inherited Members | |
![]() | |
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) | |
![]() | |
array | $sub_items = array() |
![]() | |
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 |
Definition at line 22 of file class.ilClozeGapInputBuilderGUI.php.
ilClozeGapInputBuilderGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 29 of file class.ilClozeGapInputBuilderGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\FileDelivery\http().
ilClozeGapInputBuilderGUI::checkInput | ( | ) |
JsonException |
Definition at line 99 of file class.ilClozeGapInputBuilderGUI.php.
References $i, $index, ILIAS\LTI\ToolProvider\$key, CLOZE_NUMERIC, CLOZE_SELECT, CLOZE_TEXT, ilFormPropertyGUI\raw(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
ilClozeGapInputBuilderGUI::getValue | ( | ) |
JsonException |
Definition at line 48 of file class.ilClozeGapInputBuilderGUI.php.
References $value.
Referenced by insert().
ilClozeGapInputBuilderGUI::getValueCombination | ( | ) |
JsonException |
Definition at line 69 of file class.ilClozeGapInputBuilderGUI.php.
References $value, and $value_combination.
Referenced by insert().
ilClozeGapInputBuilderGUI::insert | ( | ilTemplate | $template | ) |
ilTemplate | $template |
Definition at line 253 of file class.ilClozeGapInputBuilderGUI.php.
References $DIC, ilFormPropertyGUI\$lng, ilModalGUI\getInstance(), getValue(), getValueCombination(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
ilClozeGapInputBuilderGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 40 of file class.ilClozeGapInputBuilderGUI.php.
Referenced by setValueByArray().
ilClozeGapInputBuilderGUI::setValueByArray | ( | $data | ) |
Definition at line 245 of file class.ilClozeGapInputBuilderGUI.php.
References $data, and setValue().
ilClozeGapInputBuilderGUI::setValueCombination | ( | $value | ) |
Definition at line 61 of file class.ilClozeGapInputBuilderGUI.php.
References $value.
Referenced by setValueCombinationFromDb().
ilClozeGapInputBuilderGUI::setValueCombinationFromDb | ( | $value | ) |
Definition at line 81 of file class.ilClozeGapInputBuilderGUI.php.
References $value, and setValueCombination().
|
static |
$data | string|array |
Definition at line 328 of file class.ilClozeGapInputBuilderGUI.php.
References ilUtil\stripSlashes().
|
private |
Definition at line 26 of file class.ilClozeGapInputBuilderGUI.php.
|
private |
Definition at line 27 of file class.ilClozeGapInputBuilderGUI.php.
|
private |
Definition at line 25 of file class.ilClozeGapInputBuilderGUI.php.
Referenced by getValue(), getValueCombination(), setValueCombination(), and setValueCombinationFromDb().
|
private |
Definition at line 24 of file class.ilClozeGapInputBuilderGUI.php.
Referenced by getValueCombination().