|
ILIAS
Release_3_10_x_branch Revision 61812
|
This class represents a text property in a property form. More...
Inheritance diagram for ilTextInputGUI:
Collaboration diagram for ilTextInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. | |
| setValue ($a_value) | |
| Set Value. | |
| getValue () | |
| Get Value. | |
| setValidationRegexp ($a_value) | |
| Set validation regexp. | |
| getValidationRegexp () | |
| Get validation regexp. | |
| setMaxLength ($a_maxlength) | |
| Set Max Length. | |
| getMaxLength () | |
| Get Max Length. | |
| setSize ($a_size) | |
| Set Size. | |
| setValueByArray ($a_values) | |
| Set value by array. | |
| getSize () | |
| Get Size. | |
| setInputType ($a_type) | |
| set input type | |
| getInputType () | |
| get input type | |
| checkInput () | |
| Check input, strip slashes etc. | |
| insert (&$a_tpl) | |
| Insert property html. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| addSubItem ($a_item) | |
| Add Subitem. | |
| getSubItems () | |
| Get Subitems. | |
| setSubformMode ($a_subformmode) | |
| Set Subform Mode. | |
| getSubformMode () | |
| Get Subform Mode. | |
| checkSubItemsInput () | |
| Check SubItems. | |
| getSubForm () | |
| Get sub form html. | |
Public Member Functions inherited from ilFormPropertyGUI | |
| 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. | |
Protected Attributes | |
| $value | |
| $maxlength = 200 | |
| $size = 40 | |
| $validationRegexp | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
| $sub_items = array() | |
| $subformmode = "bottom" | |
Protected Attributes inherited from ilFormPropertyGUI | |
| $type | |
| $title | |
| $postvar | |
| $info | |
| $alert | |
| $required = false | |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType ($a_type) | |
| Set Type. | |
This class represents a text property in a property form.
Definition at line 31 of file class.ilTextInputGUI.php.
| ilTextInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilColorPickerInputGUI, ilFeedUrlInputGUI, and ilRegExpInputGUI.
Definition at line 44 of file class.ilTextInputGUI.php.
References setInputType().
Here is the call graph for this function:| ilTextInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilRegExpInputGUI, ilColorPickerInputGUI, and ilFeedUrlInputGUI.
Definition at line 169 of file class.ilTextInputGUI.php.
References $lng, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getValidationRegexp(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilTextInputGUI::getInputType | ( | ) |
get input type
public
Definition at line 158 of file class.ilTextInputGUI.php.
Referenced by insert().
Here is the caller graph for this function:| ilTextInputGUI::getMaxLength | ( | ) |
Get Max Length.
Definition at line 106 of file class.ilTextInputGUI.php.
References $maxlength.
Referenced by insert().
Here is the caller graph for this function:| ilTextInputGUI::getSize | ( | ) |
Get Size.
Definition at line 136 of file class.ilTextInputGUI.php.
References $size.
Referenced by insert().
Here is the caller graph for this function:| ilTextInputGUI::getValidationRegexp | ( | ) |
Get validation regexp.
Definition at line 86 of file class.ilTextInputGUI.php.
References $validationRegexp.
Referenced by checkInput().
Here is the caller graph for this function:| ilTextInputGUI::getValue | ( | ) |
Get Value.
Definition at line 66 of file class.ilTextInputGUI.php.
References $value.
Referenced by insert().
Here is the caller graph for this function:| ilTextInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 197 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getInputType(), getMaxLength(), ilFormPropertyGUI\getPostVar(), getSize(), getValue(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilTextInputGUI::setInputType | ( | $a_type | ) |
set input type
public
| string | input type password | text |
Definition at line 148 of file class.ilTextInputGUI.php.
Referenced by __construct(), and ilPDNewsBlockGUI\editSettings().
Here is the caller graph for this function:| ilTextInputGUI::setMaxLength | ( | $a_maxlength | ) |
Set Max Length.
| int | $a_maxlength | Max Length |
Definition at line 96 of file class.ilTextInputGUI.php.
Referenced by ilObjMediaCastGUI\initAddCastItemForm(), and ilObjWikiGUI\initSettingsForm().
Here is the caller graph for this function:| ilTextInputGUI::setSize | ( | $a_size | ) |
Set Size.
| int | $a_size | Size |
Definition at line 116 of file class.ilTextInputGUI.php.
Referenced by assTextQuestionGUI\editQuestion(), ilObjPaymentSettingsGUI\generalSettingsObject(), ilCalendarRecurrenceGUI\initForm(), ilObjChatServerGUI\initForm(), ilObjUserGUI\initForm(), and ilECSSettingsGUI\initSettingsForm().
Here is the caller graph for this function:| ilTextInputGUI::setValidationRegexp | ( | $a_value | ) |
Set validation regexp.
| string | $a_value | regexp |
Definition at line 76 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setValue | ( | $a_value | ) |
Set Value.
| string | $a_value | Value |
Reimplemented in ilColorPickerInputGUI.
Definition at line 56 of file class.ilTextInputGUI.php.
Referenced by ilObjPaymentSettingsGUI\bmfSettingsObject(), ilPCTableGUI\edit(), ilObjForumGUI\editObject(), assTextQuestionGUI\editQuestion(), ilObjPersonalDesktopSettingsGUI\editSettings(), ilPDNewsBlockGUI\editSettings(), ilObjPaymentSettingsGUI\generalSettingsObject(), ilAdvancedSearchGUI\initAdvancedMetaDataForm(), ilObjMDSettingsGUI\initCopyrightEditForm(), ilObjRemoteCourseGUI\initEditTable(), ilCalendarAppointmentGUI\initForm(), ilObjSessionGUI\initForm(), ilPersonalProfileGUI\initForm(), ilCourseObjectivesGUI\initFormLimits(), ilLDAPSettingsGUI\initFormRoleAssignments(), ilCalendarCategoryGUI\initFormSearch(), ilObjMediaCastSettingsGUI\initFormSettings(), ilObjCourseGUI\initInfoEditor(), ilECSSettingsGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilPCDataTableGUI\insert(), ilPCTableGUI\insert(), ilAdvancedMDRecordGUI\parseSearch(), ilObjPaymentSettingsGUI\paypalSettingsObject(), setValueByArray(), ilMailAddressbookGUI\showAddressForm(), ilMailingListsGUI\showForm(), ilObjPrivacySecurityGUI\showSecurity(), and ilShopTopicsGUI\showTopicForm().
Here is the caller graph for this function:| ilTextInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 126 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilTextInputGUI.php.
Referenced by getMaxLength().
|
protected |
Definition at line 35 of file class.ilTextInputGUI.php.
Referenced by getSize().
|
protected |
Definition at line 36 of file class.ilTextInputGUI.php.
Referenced by getValidationRegexp().
|
protected |
Definition at line 33 of file class.ilTextInputGUI.php.
Referenced by ilRegExpInputGUI\checkInput(), and getValue().