ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
This class represents a text area property in a property form. More...
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 () | |
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 () | |
![]() | |
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... | |
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 text area property in a property form.
Definition at line 26 of file class.ilTextAreaInputGUI.php.
ilTextAreaInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 77 of file class.ilTextAreaInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), setRteTagSet(), and ilFormPropertyGUI\setType().
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 | ( | ) |
Definition at line 261 of file class.ilTextAreaInputGUI.php.
References ilFormPropertyGUI\$lng, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getInput(), getMaxNumOfChars(), getMinNumOfChars(), ilFormPropertyGUI\getRequired(), isCharLimited(), ilFormPropertyGUI\setAlert(), and ilLanguage\txt().
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 480 of file class.ilTextAreaInputGUI.php.
ilTextAreaInputGUI::getCols | ( | ) |
Definition at line 112 of file class.ilTextAreaInputGUI.php.
References $cols.
Referenced by insert().
ilTextAreaInputGUI::getDisabledButtons | ( | bool | $as_array = true | ) |
Definition at line 493 of file class.ilTextAreaInputGUI.php.
References $disabled_buttons.
Referenced by insert().
ilTextAreaInputGUI::getInitialRteWidth | ( | ) |
Definition at line 502 of file class.ilTextAreaInputGUI.php.
References $initial_rte_width.
Referenced by insert().
ilTextAreaInputGUI::getInput | ( | ) |
Definition at line 294 of file class.ilTextAreaInputGUI.php.
References $value, ilFormPropertyGUI\getPostVar(), getPurifier(), getRteTagString(), getUseRte(), getUseTagsForRteOnly(), ilFormPropertyGUI\raw(), ilFormPropertyGUI\str(), ilUtil\stripSlashes(), and usePurifier().
Referenced by checkInput().
ilTextAreaInputGUI::getMaxNumOfChars | ( | ) |
Definition at line 133 of file class.ilTextAreaInputGUI.php.
References $max_num_chars.
Referenced by checkInput(), insert(), and isCharLimited().
ilTextAreaInputGUI::getMinNumOfChars | ( | ) |
Definition at line 143 of file class.ilTextAreaInputGUI.php.
References $min_num_chars.
Referenced by checkInput(), insert(), and isCharLimited().
ilTextAreaInputGUI::getPurifier | ( | ) |
Definition at line 459 of file class.ilTextAreaInputGUI.php.
References $Purifier.
Referenced by getInput().
ilTextAreaInputGUI::getRows | ( | ) |
Definition at line 122 of file class.ilTextAreaInputGUI.php.
References $rows.
Referenced by insert().
ilTextAreaInputGUI::getRTERootBlockElement | ( | ) |
Definition at line 470 of file class.ilTextAreaInputGUI.php.
References $root_block_element.
Referenced by insert().
ilTextAreaInputGUI::getRteTags | ( | ) |
Definition at line 211 of file class.ilTextAreaInputGUI.php.
References $rtetags.
Referenced by getRteTagString(), and insert().
ilTextAreaInputGUI::getRteTagSet | ( | $a_set_name | ) |
Definition at line 225 of file class.ilTextAreaInputGUI.php.
Referenced by insert().
ilTextAreaInputGUI::getRteTagString | ( | ) |
Definition at line 230 of file class.ilTextAreaInputGUI.php.
References getRteTags().
Referenced by getInput().
ilTextAreaInputGUI::getUseRte | ( | ) |
Definition at line 154 of file class.ilTextAreaInputGUI.php.
References $usert.
Referenced by getInput(), and insert().
ilTextAreaInputGUI::getUseTagsForRteOnly | ( | ) |
Definition at line 247 of file class.ilTextAreaInputGUI.php.
References $use_tags_for_rte_only.
Referenced by getInput().
ilTextAreaInputGUI::getValue | ( | ) |
Definition at line 98 of file class.ilTextAreaInputGUI.php.
References $value.
Referenced by insert().
ilTextAreaInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 312 of file class.ilTextAreaInputGUI.php.
References ilFormPropertyGUI\$lng, XapiProxy\$plugin, ilRTE\_getRTEClassname(), getCols(), ilFormPropertyGUI\getDisabled(), getDisabledButtons(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getHiddenTag(), ilFormPropertyGUI\getInfo(), getInitialRteWidth(), getMaxNumOfChars(), getMinNumOfChars(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getRows(), getRTERootBlockElement(), getRteTags(), getRteTagSet(), getUseRte(), getValue(), isCharLimited(), null, ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), ilLanguage\toJS(), and ilLanguage\txt().
ilTextAreaInputGUI::isCharLimited | ( | ) |
Definition at line 512 of file class.ilTextAreaInputGUI.php.
References getMaxNumOfChars(), and getMinNumOfChars().
Referenced by checkInput(), and insert().
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.
Referenced by ilObjStyleSheetGUI\getCreateForm(), ilRatingCategoryGUI\initCategoryForm(), ilObjEmployeeTalkSeriesGUI\initCreateForm(), ilObjBibliographicGUI\initCreateForm(), ilObjGlossaryGUI\initCreateForm(), ilObjFolderGUI\initEditForm(), ilObjectPluginGUI\initEditForm(), ilObjectGUI\initEditForm(), ilObjTaggingSettingsGUI\initForbiddenTagsForm(), ilLOTestAssignmentForm\initForm(), ilObjMediaObjectGUI\initForm(), ilBookingObjectGUI\initForm(), ilMailingListsGUI\initForm(), ilCASSettingsGUI\initFormSettings(), ilObjSCORMLearningModuleGUI\initPropertiesForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilPermissionGUI\initRoleForm(), ilObjFileBasedLMGUI\initSettingsForm(), and ilObjEmployeeTalkGUI\sendUpdateNotification().
ilTextAreaInputGUI::setInitialRteWidth | ( | int | $initial_rte_width | ) |
Definition at line 507 of file class.ilTextAreaInputGUI.php.
References $initial_rte_width.
ilTextAreaInputGUI::setMaxNumOfChars | ( | int | $a_number | ) |
Definition at line 128 of file class.ilTextAreaInputGUI.php.
Referenced by ilBadgeManagementGUI\initBadgeForm().
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 453 of file class.ilTextAreaInputGUI.php.
References $Purifier.
ilTextAreaInputGUI::setRows | ( | int | $a_rows | ) |
Definition at line 117 of file class.ilTextAreaInputGUI.php.
Referenced by ilObjMailGUI\buildSignaturePlaceholderInputs(), ilPCMediaObjectEditorGUI\getEditorElements(), ilMailOptionsFormGUI\init(), ilPageLayoutAdministrationGUI\initAddPageLayoutForm(), ilExAssignmentEditorGUI\initAssignmentForm(), ilContainerGUI\initEditForm(), ilLTIConsumerSettingsFormGUI\initForm(), ilLTIConsumeProviderFormGUI\initForm(), ilBasicSkillTemplateGUI\initForm(), ilSkillTemplateCategoryGUI\initForm(), ilSkillCategoryGUI\initForm(), ilBasicSkillGUI\initForm(), ilObjMediaObjectGUI\initForm(), ilSkillTreeNodeGUI\initForm(), ilObjUserGUI\initForm(), ilObjLinkResourceGUI\initFormLink(), ilConsultationHoursGUI\initFormSequence(), ilSurveyEditorGUI\initHeadingForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
ilTextAreaInputGUI::setRTERootBlockElement | ( | ?string | $a_root_block_element | ) |
Definition at line 464 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.
References $version.
ilTextAreaInputGUI::setRteTags | ( | array | $a_rtetags | ) |
Definition at line 206 of file class.ilTextAreaInputGUI.php.
Referenced by setRteTagSet().
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.
References setRteTags().
Referenced by __construct().
ilTextAreaInputGUI::setUseRte | ( | bool | $a_usert, |
string | $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.
Referenced by assQuestionGUI\addBasicQuestionFormProperties(), ilAdvancedMDFieldDefinition\addToFieldDefinitionForm(), ilUserProfile\getTextareaInput(), ilSurveyParticipantsGUI\importExternalMailRecipientsFromTextFormObject(), ilRemoteObjectBaseGUI\initEditForm(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilLTIConsumeProviderFormGUI\initForm(), ilPageLayoutGUI\initForm(), ilCalendarAppointmentGUI\initForm(), ilObjSessionGUI\initForm(), ilAdvancedMDSettingsGUI\initForm(), ilCourseObjectivesGUI\initFormTitle(), ilObjCourseGUI\initInfoEditor(), ilObjUserFolderGUI\initNewAccountMailForm(), ilObjTaxonomyGUI\initSettingsForm(), ilLTIConsumeProviderFormGUI\initToolConfigForm(), ilAdvancedMDRecordTranslations\modifyTranslationInfoForDescription(), ilAdvancedMDFieldTranslations\modifyTranslationInfoForDescription(), assErrorTextGUI\populateQuestionSpecificFormPart(), assOrderingHorizontalGUI\populateQuestionSpecificFormPart(), ilObjOrgUnitSettingsFormGUI\saveObject(), setValueByArray(), and ilMailFormGUI\showForm().
ilTextAreaInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 252 of file class.ilTextAreaInputGUI.php.
References ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), and setValue().
ilTextAreaInputGUI::usePurifier | ( | ?bool | $a_flag = null | ) |
Setter/Getter for the html purifier usage.
bool | $a_flag | Use purifier or not |
Definition at line 440 of file class.ilTextAreaInputGUI.php.
References $usePurifier, and null.
Referenced by getInput().
|
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.
Referenced by getDisabledButtons().
|
protected |
Definition at line 41 of file class.ilTextAreaInputGUI.php.
Referenced by getInitialRteWidth(), and setInitialRteWidth().
|
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.
Referenced by getPurifier(), and setPurifier().
|
protected |
Definition at line 35 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 45 of file class.ilTextAreaInputGUI.php.
Referenced by getRTERootBlockElement().
|
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.
Referenced by getRteTags().
|
protected |
Definition at line 38 of file class.ilTextAreaInputGUI.php.
Referenced by getUseTagsForRteOnly().
|
protected |
Definition at line 43 of file class.ilTextAreaInputGUI.php.
Referenced by usePurifier().
|
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 getInput(), and getValue().