ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
This class represents a random test input property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. More... | |
setValue ($a_value) | |
Set Value. More... | |
setValueByArray ($a_values) | |
setValues ($a_values) | |
Set Values. More... | |
getValues () | |
Get Values. More... | |
checkInput () | |
Check input, strip slashes etc. More... | |
insert ($a_tpl) | |
Insert property html. More... | |
![]() | |
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... | |
Protected Attributes | |
$values = [] | |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
![]() | |
symbol () | |
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) | |
This class represents a random test input property in a property form.
Definition at line 28 of file class.ilRandomTestROInputGUI.php.
ilRandomTestROInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 38 of file class.ilRandomTestROInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilFormPropertyGUI\setRequired().
ilRandomTestROInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 81 of file class.ilRandomTestROInputGUI.php.
References ilSubEnabledFormPropertyGUI\checkSubItemsInput().
ilRandomTestROInputGUI::getValues | ( | ) |
Get Values.
Definition at line 72 of file class.ilRandomTestROInputGUI.php.
References $values.
ilRandomTestROInputGUI::insert | ( | $a_tpl | ) |
Insert property html.
Definition at line 89 of file class.ilRandomTestROInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
ilRandomTestROInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 49 of file class.ilRandomTestROInputGUI.php.
ilRandomTestROInputGUI::setValueByArray | ( | $a_values | ) |
Definition at line 53 of file class.ilRandomTestROInputGUI.php.
ilRandomTestROInputGUI::setValues | ( | $a_values | ) |
Set Values.
array | $a_value | Value |
Definition at line 62 of file class.ilRandomTestROInputGUI.php.
|
protected |
Definition at line 30 of file class.ilRandomTestROInputGUI.php.
Referenced by getValues().