ILIAS
Release_3_10_x_branch Revision 61812
|
This class represents a text property in a property form. More...
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().
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().
ilTextInputGUI::getInputType | ( | ) |
get input type
public
Definition at line 158 of file class.ilTextInputGUI.php.
Referenced by insert().
ilTextInputGUI::getMaxLength | ( | ) |
Get Max Length.
Definition at line 106 of file class.ilTextInputGUI.php.
References $maxlength.
Referenced by insert().
ilTextInputGUI::getSize | ( | ) |
Get Size.
Definition at line 136 of file class.ilTextInputGUI.php.
References $size.
Referenced by insert().
ilTextInputGUI::getValidationRegexp | ( | ) |
Get validation regexp.
Definition at line 86 of file class.ilTextInputGUI.php.
References $validationRegexp.
Referenced by checkInput().
ilTextInputGUI::getValue | ( | ) |
Get Value.
Definition at line 66 of file class.ilTextInputGUI.php.
References $value.
Referenced by insert().
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().
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().
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().
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().
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().
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().
|
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().