| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This class represents a single choice wizard property in a property form. More...
 Inheritance diagram for ilSingleChoiceWizardInputGUI:
 Collaboration diagram for ilSingleChoiceWizardInputGUI:Public Member Functions | |
| __construct ($a_title='', $a_postvar='') | |
| Constructor.  More... | |
| setValue ($a_value) | |
| setValueByArray (array $a_values) | |
| setSuffixes ($a_suffixes) | |
| Set Accepted Suffixes.  More... | |
| setHideImages ($a_hide) | |
| Set hide images.  More... | |
| getSuffixes () | |
| Get Accepted Suffixes.  More... | |
| setShowPoints ($a_value) | |
| getShowPoints () | |
| setValues ($a_values) | |
| Set Values.  More... | |
| getValues () | |
| Get Values.  More... | |
| setSingleline ($a_value) | |
| Set singleline.  More... | |
| getSingleline () | |
| Get singleline.  More... | |
| setQuestionObject ($a_value) | |
| Set question object.  More... | |
| getQuestionObject () | |
| Get question object.  More... | |
| setAllowMove ($a_allow_move) | |
| Set allow move.  More... | |
| getAllowMove () | |
| Get allow move.  More... | |
| setPending (string $val) | |
| checkInput () | |
| Check input, strip slashes etc.  More... | |
| insert (ilTemplate $a_tpl) | |
  Public Member Functions inherited from ilTextInputGUI | |
| __construct (string $a_title="", string $a_postvar="") | |
| setValue ($a_value) | |
| getValue () | |
| setValidationFailureMessage (string $a_msg) | |
| getValidationFailureMessage () | |
| setValidationRegexp (string $a_value) | |
| getValidationRegexp () | |
| setMaxLength (?int $a_maxlength) | |
| getMaxLength () | |
| setSize (int $a_size) | |
| setInlineStyle (string $a_style) | |
| getInlineStyle () | |
| setCssClass (string $a_class) | |
| getCssClass () | |
| setValueByArray (array $a_values) | |
| getSize () | |
| setSuffix (string $a_value) | |
| getSuffix () | |
| setInputType (string $a_type) | |
| set input type  More... | |
| getInputType () | |
| setSubmitFormOnEnter (bool $a_val) | |
| getSubmitFormOnEnter () | |
| checkInput () | |
| getInput () | |
| getDataSource () | |
| setDataSource (string $href, string $a_delimiter=null) | |
| setDataSourceSubmitOnSelection (bool $a_stat) | |
| getDataSourceSubmitOnSelection () | |
| setDataSourceSubmitUrl (string $a_url) | |
| getDataSourceSubmitUrl () | |
| setMultiValues (array $a_values) | |
| render (string $a_mode="") | |
| insert (ilTemplate $a_tpl) | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters.  More... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI.  More... | |
| setDisableHtmlAutoComplete (bool $autocomplete) | |
| isHtmlAutoCompleteDisabled () | |
| getPostValueForComparison () | |
  Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| 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) | |
  Public Member Functions inherited from ilFormPropertyGUI | |
| __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... | |
  Public Member Functions inherited from ilTableFilterItem | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value.  More... | |
Additional Inherited Members | |
  Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) | 
| Remove prohibited characters see #19159.  More... | |
  Protected Member Functions inherited from ilFormPropertyGUI | |
| 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 single choice wizard property in a property form.
Definition at line 31 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::__construct | ( | $a_title = '',  | 
        |
$a_postvar = ''  | 
        |||
| ) | 
Constructor.
| string | $a_title | Title | 
| string | $a_postvar | Post Variable | 
Definition at line 52 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilTextInputGUI\setMaxLength(), ilTextInputGUI\setSize(), and setSuffixes().
 Here is the call graph for this function:| ilSingleChoiceWizardInputGUI::checkInput | ( | ) | 
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 233 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, $filename, $hideImages, ilFormPropertyGUI\$lng, ilTextInputGUI\$suffix, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilTextInputGUI\getMaxLength(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSingleline(), getSuffixes(), ilFormPropertyGUI\setAlert(), ilArrayUtil\stripSlashesRecursive(), ilLanguage\txt(), and ilVirusScanner\virusHandling().
 Here is the call graph for this function:| ilSingleChoiceWizardInputGUI::getAllowMove | ( | ) | 
Get allow move.
Definition at line 214 of file class.ilSingleChoiceWizardInputGUI.php.
References $allowMove.
Referenced by ilKprimChoiceWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
 Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getQuestionObject | ( | ) | 
Get question object.
Definition at line 194 of file class.ilSingleChoiceWizardInputGUI.php.
References $qstObject.
| ilSingleChoiceWizardInputGUI::getShowPoints | ( | ) | 
Definition at line 134 of file class.ilSingleChoiceWizardInputGUI.php.
References $showPoints.
Referenced by insert().
 Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getSingleline | ( | ) | 
Get singleline.
Definition at line 174 of file class.ilSingleChoiceWizardInputGUI.php.
References $singleline.
Referenced by ilKprimChoiceCorrectionsInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilAssSingleChoiceCorrectionsInputGUI\insert(), ilAssMultipleChoiceCorrectionsInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
 Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getSuffixes | ( | ) | 
Get Accepted Suffixes.
Definition at line 124 of file class.ilSingleChoiceWizardInputGUI.php.
References $suffixes.
Referenced by ilMultipleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
 Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getValues | ( | ) | 
Get Values.
Definition at line 154 of file class.ilSingleChoiceWizardInputGUI.php.
References $values.
| ilSingleChoiceWizardInputGUI::insert | ( | ilTemplate | $a_tpl | ) | 
| $a_tpl | ilTemplate | 
Definition at line 380 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, ilFormPropertyGUI\$lng, ilTextInputGUI\$suffix, ilTextInputGUI\$value, getAllowMove(), ilFormPropertyGUI\getDisabled(), ilFileUtils\getFileSizeInfo(), ilTextInputGUI\getMaxLength(), ilFormPropertyGUI\getPostVar(), getShowPoints(), getSingleline(), ilTextInputGUI\getSize(), getSuffixes(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
Referenced by ilKprimChoiceCorrectionsInputGUI\checkInput(), and ilKprimChoiceWizardInputGUI\checkInput().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::setAllowMove | ( | $a_allow_move | ) | 
Set allow move.
| boolean | $a_allow_move | Allow move | 
Definition at line 204 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setHideImages | ( | $a_hide | ) | 
Set hide images.
| array | $a_hide | Hide images | 
Definition at line 114 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setPending | ( | string | $val | ) | 
2023-07-05 sk: This is not how it should be, but there is no got way around it right now. We need KS-Forms. Now!
Definition at line 221 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setQuestionObject | ( | $a_value | ) | 
Set question object.
| object | $a_value | test object | 
Definition at line 184 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setShowPoints | ( | $a_value | ) | 
Definition at line 129 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setSingleline | ( | $a_value | ) | 
Set singleline.
| boolean | $a_value | Value | 
Definition at line 164 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setSuffixes | ( | $a_suffixes | ) | 
Set Accepted Suffixes.
| array | $a_suffixes | Accepted Suffixes | 
Definition at line 104 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by __construct().
 Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::setValue | ( | $a_value | ) | 
Definition at line 67 of file class.ilSingleChoiceWizardInputGUI.php.
References ilTextInputGUI\$value.
Referenced by setValueByArray().
 Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::setValueByArray | ( | array | $a_values | ) | 
Definition at line 92 of file class.ilSingleChoiceWizardInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
 Here is the call graph for this function:| ilSingleChoiceWizardInputGUI::setValues | ( | $a_values | ) | 
Set Values.
| array | $a_value | Value | 
Definition at line 144 of file class.ilSingleChoiceWizardInputGUI.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getAllowMove().
      
  | 
  protected | 
Definition at line 42 of file class.ilSingleChoiceWizardInputGUI.php.
      
  | 
  protected | 
Definition at line 39 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by checkInput().
      
  | 
  protected | 
Definition at line 41 of file class.ilSingleChoiceWizardInputGUI.php.
      
  | 
  protected | 
Definition at line 36 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getQuestionObject().
      
  | 
  protected | 
Definition at line 43 of file class.ilSingleChoiceWizardInputGUI.php.
      
  | 
  protected | 
Definition at line 38 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getShowPoints().
      
  | 
  protected | 
Definition at line 35 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getSingleline().
      
  | 
  protected | 
Definition at line 37 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getSuffixes().
      
  | 
  protected | 
Definition at line 44 of file class.ilSingleChoiceWizardInputGUI.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by ilMultipleChoiceWizardInputGUI\checkInput(), and getValues().