|
ILIAS
eassessment Revision 61809
|
This class represents a text area property in a property form. More...
Inheritance diagram for ilTextAreaInputGUI:
Collaboration diagram for ilTextAreaInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. | |
| setValue ($a_value) | |
| Set Value. | |
| getValue () | |
| Get Value. | |
| setCols ($a_cols) | |
| Set Cols. | |
| getCols () | |
| Get Cols. | |
| setRows ($a_rows) | |
| Set Rows. | |
| getRows () | |
| Get Rows. | |
| setUseRte ($a_usert) | |
| Set Use Rich Text Editing. | |
| getUseRte () | |
| Get Use Rich Text Editing. | |
| addPlugin ($a_plugin) | |
| Add RTE plugin. | |
| removePlugin ($a_plugin) | |
| Remove RTE plugin. | |
| addButton ($a_button) | |
| Add RTE button. | |
| removeButton ($a_button) | |
| Remove RTE button. | |
| setRTESupport ($obj_id, $obj_type, $module, $cfg_template=null) | |
| Set RTE support for a special module. | |
| removeRTESupport () | |
| Remove RTE support for a special module. | |
| setRteTags ($a_rtetags) | |
| Set Valid RTE Tags. | |
| getRteTags () | |
| Get Valid RTE Tags. | |
| setRteTagSet ($a_set_name) | |
| Set Set of Valid RTE Tags. | |
| getRteTagSet ($a_set_name) | |
| Get Set of Valid RTE Tags. | |
| getRteTagString () | |
| RTE Tag string. | |
| setValueByArray ($a_values) | |
| Set value by array. | |
| checkInput () | |
| Check input, strip slashes etc. | |
| insert (&$a_tpl) | |
| Insert property html. | |
| usePurifier ($a_flag=null) | |
| Setter/Getter for the html purifier usage. | |
| setPurifier (ilHtmlPurifierInterface $Purifier) | |
| Setter for the html purifier. | |
| getPurifier () | |
| Getter for the html purifier. | |
| setRTERootBlockElement ($a_root_block_element) | |
| Setter for the TinyMCE root block element. | |
| getRTERootBlockElement () | |
| Getter for the TinyMCE root block element. | |
| disableButtons ($a_button) | |
| Sets buttons which should be disabled in TinyMCE. | |
| getDisabledButtons ($as_array=true) | |
| Returns the disabled TinyMCE buttons. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| addSubItem ($a_item) | |
| Add Subitem. | |
| getSubItems () | |
| Get Subitems. | |
| checkSubItemsInput () | |
| Check SubItems. | |
| getSubForm () | |
| Get sub form html. | |
| getItemByPostVar ($a_post_var) | |
| Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
| & | executeCommand () |
| Execute command. | |
| getType () | |
| Get Type. | |
| setTitle ($a_title) | |
| Set Title. | |
| getTitle () | |
| Get Title. | |
| setPostVar ($a_postvar) | |
| Set Post Variable. | |
| getPostVar () | |
| Get Post Variable. | |
| getFieldId () | |
| Get Post Variable. | |
| setInfo ($a_info) | |
| Set Information Text. | |
| getInfo () | |
| Get Information Text. | |
| setAlert ($a_alert) | |
| Set Alert Text. | |
| getAlert () | |
| Get Alert Text. | |
| setRequired ($a_required) | |
| Set Required. | |
| getRequired () | |
| Get Required. | |
| setDisabled ($a_disabled) | |
| Set Disabled. | |
| getDisabled () | |
| Get Disabled. | |
| setParentForm ($a_parentform) | |
| Set Parent Form. | |
| getParentForm () | |
| Get Parent Form. | |
| setParent ($a_val) | |
| Set Parent GUI object. | |
| getParent () | |
| Get Parent GUI object. | |
| hideSubForm () | |
| Sub form hidden on init? | |
| setHiddenTitle ($a_val) | |
| Set hidden title (for screenreaders) | |
| getHiddenTitle () | |
| Get hidden title. | |
| serializeData () | |
| serialize data | |
| unserializeData ($a_data) | |
| unserialize data | |
| writeToSession () | |
| Write to session. | |
| clearFromSession () | |
| Clear session value. | |
| readFromSession () | |
| Read from session. | |
| getHiddenTag ($a_post_var, $a_value) | |
| Get hidden tag (used for disabled properties) | |
Protected Attributes | |
| $value | |
| $cols | |
| $rows | |
| $usert | |
| $rtetags | |
| $plugins | |
| $removeplugins | |
| $buttons | |
| $rtesupport | |
| $disabled_buttons = array() | |
| $usePurifier = false | |
| $Purifier = null | |
| $root_block_element = null | |
| $rte_tag_set | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
| $sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
| $type | |
| $title | |
| $postvar | |
| $info | |
| $alert | |
| $required = false | |
| $parentgui | |
| $parentform | |
| $hidden_title = "" | |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType ($a_type) | |
| Set Type. | |
This class represents a text area property in a property form.
Definition at line 33 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 120 of file class.ilTextAreaInputGUI.php.
References setRteTagSet(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilTextAreaInputGUI::addButton | ( | $a_button | ) |
Add RTE button.
| string | $a_button | Button name |
Definition at line 236 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::addPlugin | ( | $a_plugin | ) |
Add RTE plugin.
| string | $a_plugin | Plugin name |
Definition at line 216 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 342 of file class.ilTextAreaInputGUI.php.
References $_POST, $lng, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), getPurifier(), ilFormPropertyGUI\getRequired(), getRteTagString(), getUseRte(), ilFormPropertyGUI\setAlert(), ilUtil\stripOnlySlashes(), ilUtil\stripSlashes(), and usePurifier().
Here is the call graph for this function:| ilTextAreaInputGUI::disableButtons | ( | $a_button | ) |
Sets buttons which should be disabled in TinyMCE.
| mixed | $a_button | Either a button string or an array of button strings |
Definition at line 562 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getCols | ( | ) |
Get Cols.
Definition at line 166 of file class.ilTextAreaInputGUI.php.
References $cols.
Referenced by insert().
Here is the caller graph for this function:| ilTextAreaInputGUI::getDisabledButtons | ( | $as_array = true | ) |
Returns the disabled TinyMCE buttons.
| boolean | $as_array | Should the disabled buttons be returned as a string or as an array |
Definition at line 584 of file class.ilTextAreaInputGUI.php.
References $disabled_buttons.
Referenced by insert().
Here is the caller graph for this function:| ilTextAreaInputGUI::getPurifier | ( | ) |
Getter for the html purifier.
Definition at line 525 of file class.ilTextAreaInputGUI.php.
References $Purifier.
Referenced by checkInput().
Here is the caller graph for this function:| ilTextAreaInputGUI::getRows | ( | ) |
Get Rows.
Definition at line 186 of file class.ilTextAreaInputGUI.php.
References $rows.
Referenced by insert().
Here is the caller graph for this function:| ilTextAreaInputGUI::getRTERootBlockElement | ( | ) |
Getter for the TinyMCE root block element.
Definition at line 549 of file class.ilTextAreaInputGUI.php.
References $root_block_element.
Referenced by insert().
Here is the caller graph for this function:| ilTextAreaInputGUI::getRteTags | ( | ) |
Get Valid RTE Tags.
Definition at line 286 of file class.ilTextAreaInputGUI.php.
References $rtetags.
Referenced by getRteTagString(), and insert().
Here is the caller graph for this function:| ilTextAreaInputGUI::getRteTagSet | ( | $a_set_name | ) |
Get Set of Valid RTE Tags.
Definition at line 308 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::getRteTagString | ( | ) |
RTE Tag string.
Definition at line 317 of file class.ilTextAreaInputGUI.php.
References getRteTags().
Referenced by checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTextAreaInputGUI::getUseRte | ( | ) |
Get Use Rich Text Editing.
Definition at line 206 of file class.ilTextAreaInputGUI.php.
References $usert.
Referenced by checkInput(), and insert().
Here is the caller graph for this function:| ilTextAreaInputGUI::getValue | ( | ) |
Get Value.
Definition at line 146 of file class.ilTextAreaInputGUI.php.
References $value.
Referenced by insert().
Here is the caller graph for this function:| ilTextAreaInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 378 of file class.ilTextAreaInputGUI.php.
References ilRTE\_getRTEClassname(), getCols(), ilFormPropertyGUI\getDisabled(), getDisabledButtons(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getHiddenTag(), ilFormPropertyGUI\getPostVar(), getRows(), getRTERootBlockElement(), getRteTags(), getUseRte(), getValue(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilTextAreaInputGUI::removeButton | ( | $a_button | ) |
Remove RTE button.
| string | $a_button | Button name |
Definition at line 246 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::removePlugin | ( | $a_plugin | ) |
Remove RTE plugin.
| string | $a_plugin | Plugin name |
Definition at line 226 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::removeRTESupport | ( | ) |
Remove RTE support for a special module.
Definition at line 266 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setCols | ( | $a_cols | ) |
Set Cols.
| int | $a_cols | Cols |
Definition at line 156 of file class.ilTextAreaInputGUI.php.
Referenced by ilObjSAHSLearningModuleGUI\initCreationForm(), ilObjectPluginGUI\initEditForm(), ilObjFileBasedLMGUI\initEditForm(), ilObjMediaPoolGUI\initEditForm(), ilObject2GUI\initEditForm(), ilObjTaggingSettingsGUI\initForbiddenTagsForm(), ilObjMediaObjectGUI\initForm(), ilMailingListsGUI\initForm(), and ilNoteGUI\initNoteForm().
Here is the caller graph for this function:| ilTextAreaInputGUI::setPurifier | ( | ilHtmlPurifierInterface | $Purifier | ) |
Setter for the html purifier.
| ilHtmlPurifierInterface | Instance of ilHtmlPurifierInterface |
Definition at line 513 of file class.ilTextAreaInputGUI.php.
References $Purifier.
| ilTextAreaInputGUI::setRows | ( | $a_rows | ) |
Set Rows.
| int | $a_rows | Rows |
Definition at line 176 of file class.ilTextAreaInputGUI.php.
Referenced by ilObjPaymentSettingsGUI\generalSettingsObject(), ilObjExerciseGUI\initAssignmentForm(), ilObjMediaObjectGUI\initForm(), ilObjUserGUI\initForm(), ilObjLinkResourceGUI\initFormLink(), ilConsultationHoursGUI\initFormSequence(), ilObjAuthSettingsGUI\initLoginForm(), ilMailOptionsGUI\initMailOptionsForm(), and ilPersonalProfileGUI\initMailOptionsForm().
Here is the caller graph for this function:| ilTextAreaInputGUI::setRTERootBlockElement | ( | $a_root_block_element | ) |
Setter for the TinyMCE root block element.
| string | $a_root_block_element | root block element |
Definition at line 537 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setRTESupport | ( | $obj_id, | |
| $obj_type, | |||
| $module, | |||
$cfg_template = null |
|||
| ) |
Set RTE support for a special module.
Definition at line 258 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setRteTags | ( | $a_rtetags | ) |
Set Valid RTE Tags.
| array | $a_rtetags | Valid RTE Tags |
Definition at line 276 of file class.ilTextAreaInputGUI.php.
Referenced by setRteTagSet().
Here is the caller graph for this function:| ilTextAreaInputGUI::setRteTagSet | ( | $a_set_name | ) |
Set Set of Valid RTE Tags.
Definition at line 297 of file class.ilTextAreaInputGUI.php.
References setRteTags().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTextAreaInputGUI::setUseRte | ( | $a_usert | ) |
Set Use Rich Text Editing.
| int | $a_usert | Use Rich Text Editing |
Definition at line 196 of file class.ilTextAreaInputGUI.php.
| ilTextAreaInputGUI::setValue | ( | $a_value | ) |
Set Value.
| string | $a_value | Value |
Definition at line 136 of file class.ilTextAreaInputGUI.php.
Referenced by assQuestionGUI\addBasicQuestionFormProperties(), ilPaymentCouponGUI\addCoupon(), ilObjSurveyGUI\addHeadingObject(), ilUserProfile\addStandardFieldsToForm(), ilCertificateGUI\certificateEditor(), ilObjStyleSettingsGUI\createPgGUIObject(), ilObjFileAccessSettingsGUI\editDownloadingSettings(), SurveyTextQuestionGUI\editQuestion(), SurveyMetricQuestionGUI\editQuestion(), assTextQuestionGUI\editQuestion(), assOrderingHorizontalGUI\editQuestion(), SurveySingleChoiceQuestionGUI\editQuestion(), SurveyMultipleChoiceQuestionGUI\editQuestion(), assErrorTextGUI\editQuestion(), SurveyMatrixQuestionGUI\editQuestion(), assSingleChoiceGUI\feedback(), assMultipleChoiceGUI\feedback(), assImagemapQuestionGUI\feedback(), assQuestionGUI\feedback(), ilGroupRegistrationGUI\fillRegistrationType(), ilCourseRegistrationGUI\fillRegistrationType(), ilObjSurveyGUI\importExternalMailRecipientsObject(), ilObjMDSettingsGUI\initCopyrightEditForm(), ilObjRemoteCourseGUI\initEditTable(), ilObjSessionGUI\initForm(), ilObjLinkResourceGUI\initFormSettings(), ilObjCourseGUI\initInfoEditor(), ilObjMediaCastGUI\initSettingsForm(), ilPageLayoutGUI\properties(), ilObjSurveyGUI\propertiesObject(), ilObjTestGUI\propertiesObject(), setValueByArray(), ilMailFormGUI\showForm(), and assQuestionGUI\suggestedsolution().
Here is the caller graph for this function:| ilTextAreaInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 332 of file class.ilTextAreaInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:| ilTextAreaInputGUI::usePurifier | ( | $a_flag = null | ) |
Setter/Getter for the html purifier usage.
| boolean | $a_flag | Use purifier or not |
Definition at line 495 of file class.ilTextAreaInputGUI.php.
References $usePurifier.
Referenced by checkInput().
Here is the caller graph for this function:
|
protected |
Definition at line 42 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 36 of file class.ilTextAreaInputGUI.php.
Referenced by getCols().
|
protected |
Definition at line 53 of file class.ilTextAreaInputGUI.php.
Referenced by getDisabledButtons().
|
protected |
Definition at line 40 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 73 of file class.ilTextAreaInputGUI.php.
Referenced by getPurifier(), and setPurifier().
|
protected |
Definition at line 41 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 82 of file class.ilTextAreaInputGUI.php.
Referenced by getRTERootBlockElement().
|
protected |
Definition at line 37 of file class.ilTextAreaInputGUI.php.
Referenced by getRows().
|
protected |
Definition at line 84 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 43 of file class.ilTextAreaInputGUI.php.
|
protected |
Definition at line 39 of file class.ilTextAreaInputGUI.php.
Referenced by getRteTags().
|
protected |
Definition at line 63 of file class.ilTextAreaInputGUI.php.
Referenced by usePurifier().
|
protected |
Definition at line 38 of file class.ilTextAreaInputGUI.php.
Referenced by getUseRte().
|
protected |
Definition at line 35 of file class.ilTextAreaInputGUI.php.
Referenced by getValue().