ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 ($a_title="", $a_postvar="") | |
Constructor. More... | |
setOptions ($a_options) | |
Set Options. More... | |
getOptions () | |
Get Options. More... | |
setValue ($a_value) | |
Set Value. More... | |
getValue () | |
Get Value. More... | |
setInternalLink ($a_value) | |
Set internal link. More... | |
getInternalLink () | |
Get internal linnk. More... | |
setInternalLinkText ($a_value) | |
Set internal link.text. More... | |
getInternalLinkText () | |
Get internal link text. More... | |
setAddCommand ($a_add_command) | |
Set add command. More... | |
getAddCommand () | |
Get add command. More... | |
setValueByArray ($a_values) | |
Set value by array. More... | |
checkInput () | |
Check input, strip slashes etc. More... | |
insert ($a_tpl) | |
![]() | |
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) | |
Get item by post var. More... | |
![]() | |
__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 | |
$options | |
$value | |
$addCommand | |
$intlink | |
$intlinktext | |
![]() | |
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 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 selection list property in a property form.
Definition at line 26 of file class.ilSuggestedSolutionSelectorGUI.php.
ilSuggestedSolutionSelectorGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 40 of file class.ilSuggestedSolutionSelectorGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilFormPropertyGUI\setType().
ilSuggestedSolutionSelectorGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 160 of file class.ilSuggestedSolutionSelectorGUI.php.
References ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ILIAS\Repository\lng(), ilFormPropertyGUI\setAlert(), and ilFormPropertyGUI\str().
ilSuggestedSolutionSelectorGUI::getAddCommand | ( | ) |
Get add command.
Definition at line 141 of file class.ilSuggestedSolutionSelectorGUI.php.
Referenced by insert().
ilSuggestedSolutionSelectorGUI::getInternalLink | ( | ) |
Get internal linnk.
Definition at line 101 of file class.ilSuggestedSolutionSelectorGUI.php.
References $intlink.
Referenced by insert().
ilSuggestedSolutionSelectorGUI::getInternalLinkText | ( | ) |
Get internal link text.
Definition at line 121 of file class.ilSuggestedSolutionSelectorGUI.php.
References $intlinktext.
Referenced by insert().
ilSuggestedSolutionSelectorGUI::getOptions | ( | ) |
Get Options.
Definition at line 61 of file class.ilSuggestedSolutionSelectorGUI.php.
References $options.
Referenced by insert().
ilSuggestedSolutionSelectorGUI::getValue | ( | ) |
Get Value.
Definition at line 81 of file class.ilSuggestedSolutionSelectorGUI.php.
References $value.
Referenced by insert().
ilSuggestedSolutionSelectorGUI::insert | ( | $a_tpl | ) |
Definition at line 170 of file class.ilSuggestedSolutionSelectorGUI.php.
References getAddCommand(), ilFormPropertyGUI\getDisabled(), getInternalLink(), getInternalLinkText(), getOptions(), ilFormPropertyGUI\getPostVar(), getValue(), and ILIAS\Repository\lng().
ilSuggestedSolutionSelectorGUI::setAddCommand | ( | $a_add_command | ) |
Set add command.
string | $a_add_command | add command |
Definition at line 131 of file class.ilSuggestedSolutionSelectorGUI.php.
ilSuggestedSolutionSelectorGUI::setInternalLink | ( | $a_value | ) |
Set internal link.
string | $a_value | Value |
Definition at line 91 of file class.ilSuggestedSolutionSelectorGUI.php.
ilSuggestedSolutionSelectorGUI::setInternalLinkText | ( | $a_value | ) |
Set internal link.text.
string | $a_value | Internal link text |
Definition at line 111 of file class.ilSuggestedSolutionSelectorGUI.php.
ilSuggestedSolutionSelectorGUI::setOptions | ( | $a_options | ) |
Set Options.
array | $a_options | Options. Array ("value" => "option_text") |
Definition at line 51 of file class.ilSuggestedSolutionSelectorGUI.php.
ilSuggestedSolutionSelectorGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 71 of file class.ilSuggestedSolutionSelectorGUI.php.
Referenced by setValueByArray().
ilSuggestedSolutionSelectorGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 151 of file class.ilSuggestedSolutionSelectorGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 30 of file class.ilSuggestedSolutionSelectorGUI.php.
|
protected |
Definition at line 31 of file class.ilSuggestedSolutionSelectorGUI.php.
Referenced by getInternalLink().
|
protected |
Definition at line 32 of file class.ilSuggestedSolutionSelectorGUI.php.
Referenced by getInternalLinkText().
|
protected |
Definition at line 28 of file class.ilSuggestedSolutionSelectorGUI.php.
Referenced by getOptions().
|
protected |
Definition at line 29 of file class.ilSuggestedSolutionSelectorGUI.php.
Referenced by getValue().