|
ILIAS
release_8 Revision v8.24
|
This class represents a text area property in a property form. More...
Inheritance diagram for ilTextAreaInputGUI:
Collaboration diagram for ilTextAreaInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setValue (string $a_value) | |
| getValue () | |
| setCols (int $a_cols) | |
| getCols () | |
| setRows (int $a_rows) | |
| getRows () | |
| setMaxNumOfChars (int $a_number) | |
| getMaxNumOfChars () | |
| setMinNumOfChars (int $a_number) | |
| getMinNumOfChars () | |
| setUseRte (bool $a_usert, string $version='') | |
| getUseRte () | |
| addPlugin (string $a_plugin) | |
| removePlugin (string $a_plugin) | |
| addButton (string $a_button) | |
| removeButton (string $a_button) | |
| setRTESupport (int $obj_id, string $obj_type, string $module, ?string $cfg_template=null, bool $hide_switch=false, ?string $version=null) | |
| Set RTE support for a special module. More... | |
| removeRTESupport () | |
| setRteTags (array $a_rtetags) | |
| getRteTags () | |
| setRteTagSet (string $a_set_name) | |
| getRteTagSet ($a_set_name) | |
| getRteTagString () | |
| setUseTagsForRteOnly (bool $a_val) | |
| Set use tags for RTE only (default is true) More... | |
| getUseTagsForRteOnly () | |
| setValueByArray (array $a_values) | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| insert (ilTemplate $a_tpl) | |
| usePurifier (bool $a_flag=null) | |
| Setter/Getter for the html purifier usage. More... | |
| setPurifier (ilHtmlPurifierInterface $Purifier) | |
| Setter for the html purifier. More... | |
| getPurifier () | |
| setRTERootBlockElement (?string $a_root_block_element) | |
| getRTERootBlockElement () | |
| disableButtons ($a_button) | |
| Sets buttons which should be disabled in TinyMCE. More... | |
| getDisabledButtons (bool $as_array=true) | |
| getInitialRteWidth () | |
| setInitialRteWidth (int $initial_rte_width) | |
| isCharLimited () | |
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) | |
| Get item by post var. More... | |
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... | |
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 | |
| 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 text area property in a property form.
Definition at line 26 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 77 of file class.ilTextAreaInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), setRteTagSet(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilTextAreaInputGUI::addButton | ( | string | $a_button | ) |
Definition at line 170 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::addPlugin | ( | string | $a_plugin | ) |
Definition at line 159 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilSamlIdpMetadataInputGUI.
Definition at line 261 of file class.ilTextAreaInputGUI.php.
References $lng.
| ilTextAreaInputGUI::disableButtons | ( | $a_button | ) |
Sets buttons which should be disabled in TinyMCE.
| string | string[] | $a_button | Either a button string or an array of button strings |
Definition at line 481 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getCols | ( | ) |
Definition at line 112 of file class.ilTextAreaInputGUI.php.
References $cols.
| ilTextAreaInputGUI::getDisabledButtons | ( | bool | $as_array = true | ) |
Definition at line 494 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getInitialRteWidth | ( | ) |
Definition at line 503 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getInput | ( | ) |
Definition at line 294 of file class.ilTextAreaInputGUI.php.
References ILIAS\Repository\raw(), ILIAS\Repository\str(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilTextAreaInputGUI::getMaxNumOfChars | ( | ) |
Definition at line 133 of file class.ilTextAreaInputGUI.php.
References $max_num_chars.
| ilTextAreaInputGUI::getMinNumOfChars | ( | ) |
Definition at line 143 of file class.ilTextAreaInputGUI.php.
References $min_num_chars.
| ilTextAreaInputGUI::getPurifier | ( | ) |
Definition at line 460 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getRows | ( | ) |
Definition at line 122 of file class.ilTextAreaInputGUI.php.
References $rows.
| ilTextAreaInputGUI::getRTERootBlockElement | ( | ) |
Definition at line 471 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getRteTags | ( | ) |
Definition at line 211 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getRteTagSet | ( | $a_set_name | ) |
Definition at line 225 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getRteTagString | ( | ) |
Definition at line 230 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getUseRte | ( | ) |
Definition at line 154 of file class.ilTextAreaInputGUI.php.
References $usert.
| ilTextAreaInputGUI::getUseTagsForRteOnly | ( | ) |
Definition at line 247 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getValue | ( | ) |
Definition at line 98 of file class.ilTextAreaInputGUI.php.
References $value.
| ilTextAreaInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 312 of file class.ilTextAreaInputGUI.php.
References $lng, XapiProxy\$plugin, ilRTE\_getRTEClassname(), ILIAS\UI\Implementation\Component\Input\getValue(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTextAreaInputGUI::isCharLimited | ( | ) |
Definition at line 513 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::removeButton | ( | string | $a_button | ) |
Definition at line 175 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::removePlugin | ( | string | $a_plugin | ) |
Definition at line 164 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::removeRTESupport | ( | ) |
Definition at line 201 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setCols | ( | int | $a_cols | ) |
Definition at line 106 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setInitialRteWidth | ( | int | $initial_rte_width | ) |
Definition at line 508 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setMaxNumOfChars | ( | int | $a_number | ) |
Definition at line 128 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setMinNumOfChars | ( | int | $a_number | ) |
Definition at line 138 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setPurifier | ( | ilHtmlPurifierInterface | $Purifier | ) |
Setter for the html purifier.
Definition at line 454 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setRows | ( | int | $a_rows | ) |
Definition at line 117 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setRTERootBlockElement | ( | ?string | $a_root_block_element | ) |
Definition at line 465 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setRTESupport | ( | int | $obj_id, |
| string | $obj_type, | ||
| string | $module, | ||
| ?string | $cfg_template = null, |
||
| bool | $hide_switch = false, |
||
| ?string | $version = null |
||
| ) |
Set RTE support for a special module.
Definition at line 183 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setRteTags | ( | array | $a_rtetags | ) |
Definition at line 206 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setRteTagSet | ( | string | $a_set_name | ) |
| string | $a_set_name | Set name "standard", "extended", "extended_img", "extended_table", "extended_table_img", "full" |
Definition at line 220 of file class.ilTextAreaInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilTextAreaInputGUI::setUseRte | ( | bool | $a_usert, |
| string | $version = '' |
||
| ) |
Definition at line 148 of file class.ilTextAreaInputGUI.php.
References $version.
| ilTextAreaInputGUI::setUseTagsForRteOnly | ( | bool | $a_val | ) |
Set use tags for RTE only (default is true)
Definition at line 242 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setValue | ( | string | $a_value | ) |
Definition at line 93 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 252 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::usePurifier | ( | bool | $a_flag = null | ) |
Setter/Getter for the html purifier usage.
| bool | $a_flag | Use purifier or not |
Definition at line 441 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 36 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 30 of file class.ilTextAreaInputGUI.php.
Referenced by getCols().
|
protected |
Definition at line 42 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 41 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 39 of file class.ilTextAreaInputGUI.php.
Referenced by getMaxNumOfChars().
|
protected |
Definition at line 40 of file class.ilTextAreaInputGUI.php.
Referenced by getMinNumOfChars().
|
protected |
Definition at line 34 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 44 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 35 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 45 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 31 of file class.ilTextAreaInputGUI.php.
Referenced by getRows().
|
protected |
Definition at line 47 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 28 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 37 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 33 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 38 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 43 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 32 of file class.ilTextAreaInputGUI.php.
Referenced by getUseRte().
|
protected |
Definition at line 29 of file class.ilTextAreaInputGUI.php.
Referenced by getValue().