Overview

Packages

  • Form
  • None

Classes

  • Horde_Form
  • Horde_Form_Action
  • Horde_Form_Action_conditional_enable
  • Horde_Form_Action_conditional_setvalue
  • Horde_Form_Action_ConditionalEnable
  • Horde_Form_Action_ConditionalSetValue
  • Horde_Form_Action_reload
  • Horde_Form_Action_setcursorpos
  • Horde_Form_Action_submit
  • Horde_Form_Action_sum_fields
  • Horde_Form_Action_updatefield
  • Horde_Form_Renderer
  • Horde_Form_Translation
  • Horde_Form_Type
  • Horde_Form_Type_address
  • Horde_Form_Type_addresslink
  • Horde_Form_Type_assign
  • Horde_Form_Type_boolean
  • Horde_Form_Type_captcha
  • Horde_Form_Type_category
  • Horde_Form_Type_cellphone
  • Horde_Form_Type_colorpicker
  • Horde_Form_Type_countedtext
  • Horde_Form_Type_country
  • Horde_Form_Type_creditcard
  • Horde_Form_Type_date
  • Horde_Form_Type_datetime
  • Horde_Form_Type_dblookup
  • Horde_Form_Type_description
  • Horde_Form_Type_email
  • Horde_Form_Type_emailConfirm
  • Horde_Form_Type_enum
  • Horde_Form_Type_figlet
  • Horde_Form_Type_file
  • Horde_Form_Type_header
  • Horde_Form_Type_hourminutesecond
  • Horde_Form_Type_image
  • Horde_Form_Type_int
  • Horde_Form_Type_intlist
  • Horde_Form_Type_invalid
  • Horde_Form_Type_ip6address
  • Horde_Form_Type_ipaddress
  • Horde_Form_Type_keyval_multienum
  • Horde_Form_Type_link
  • Horde_Form_Type_longtext
  • Horde_Form_Type_matrix
  • Horde_Form_Type_mlenum
  • Horde_Form_Type_monthdayyear
  • Horde_Form_Type_monthyear
  • Horde_Form_Type_multienum
  • Horde_Form_Type_number
  • Horde_Form_Type_obrowser
  • Horde_Form_Type_octal
  • Horde_Form_Type_password
  • Horde_Form_Type_passwordconfirm
  • Horde_Form_Type_pgp
  • Horde_Form_Type_phone
  • Horde_Form_Type_radio
  • Horde_Form_Type_selectfiles
  • Horde_Form_Type_set
  • Horde_Form_Type_smime
  • Horde_Form_Type_sorter
  • Horde_Form_Type_sound
  • Horde_Form_Type_spacer
  • Horde_Form_Type_stringarray
  • Horde_Form_Type_stringlist
  • Horde_Form_Type_tableset
  • Horde_Form_Type_text
  • Horde_Form_Type_time
  • Horde_Form_Variable
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Form_Type_text

Horde_Form_Type Class

Horde_Form_Type
Extended by Horde_Form_Type_text

Direct known subclasses

Horde_Form_Type_ip6address, Horde_Form_Type_ipaddress, Horde_Form_Type_longtext, Horde_Form_Type_stringlist

Indirect known subclasses

Horde_Form_Type_address, Horde_Form_Type_addresslink, Horde_Form_Type_countedtext, Horde_Form_Type_pgp, Horde_Form_Type_smime, Horde_Form_Type_stringarray
Package: Form
Author: Robert E. Coyle robertecoyle@hotmail.com
Located at Horde/Form/Type.php
Methods summary
public
# init( string $regex = '', integer $size = 40, integer $maxlength = null )

The initialisation function for the text variable type.

The initialisation function for the text variable type.

Parameters

$regex
<p>Any valid PHP PCRE pattern syntax that needs to be matched for the field to be considered valid. If left empty validity will be checked only for required fields whether they are empty or not. If using this regex test it is advisable to enter a description for this field to warn the user what is expected, as the generated error message is quite generic and will not give any indication where the regex failed.</p>
$size
The size of the input field.
$maxlength
The max number of characters.

Overrides

Horde_Form_Type::init()
public
# isValid( mixed & $var, mixed & $vars, mixed $value, mixed & $message )

Overrides

Horde_Form_Type::isValid()
public
# getSize( )
public
# getMaxLength( )
public
# about( )

Return info about field type.

Return info about field type.

Methods inherited from Horde_Form_Type
__get(), __set(), getInfo(), getProperty(), getTypeName(), getValues(), onSubmit(), setProperty()
Properties summary
public mixed $_regex
#
public mixed $_size
#
public mixed $_maxlength
#
API documentation generated by ApiGen