Class Zend_Dojo_Form_Element_ValidationTextBox

Description

ValidationTextBox dijit

Located in /Dojo/Form/Element/ValidationTextBox.php (line 35)

Zend_Form_Element
   |
   --Zend_Dojo_Form_Element_Dijit
      |
      --Zend_Dojo_Form_Element_TextBox
         |
         --Zend_Dojo_Form_Element_ValidationTextBox
Direct descendents
Class Description
 class Zend_Dojo_Form_Element_DateTextBox DateTextBox dijit
 class Zend_Dojo_Form_Element_NumberSpinner NumberSpinner dijit
 class Zend_Dojo_Form_Element_NumberTextBox NumberTextBox dijit
 class Zend_Dojo_Form_Element_PasswordTextBox ValidationTextBox dijit tied to password input
Variable Summary
 string $helper
Method Summary
Variables
string $helper = 'ValidationTextBox' (line 41)

Use ValidationTextBox dijit view helper

  • access: public

Redefinition of:
Zend_Dojo_Form_Element_TextBox::$helper
Use TextBox dijit view helper

Redefined in descendants as:

Inherited Variables

Inherited from Zend_Dojo_Form_Element_Dijit

Zend_Dojo_Form_Element_Dijit::$dijitParams

Inherited from Zend_Form_Element

Zend_Form_Element::$_allowEmpty
Zend_Form_Element::$_autoInsertNotEmptyValidator
Zend_Form_Element::$_belongsTo
Zend_Form_Element::$_decorators
Zend_Form_Element::$_description
Zend_Form_Element::$_disableLoadDefaultDecorators
Zend_Form_Element::$_errorMessages
Zend_Form_Element::$_errorMessageSeparator
Zend_Form_Element::$_errors
Zend_Form_Element::$_filters
Zend_Form_Element::$_ignore
Zend_Form_Element::$_isArray
Zend_Form_Element::$_isError
Zend_Form_Element::$_isErrorForced
Zend_Form_Element::$_isPartialRendering
Zend_Form_Element::$_label
Zend_Form_Element::$_loaders
Zend_Form_Element::$_messages
Zend_Form_Element::$_name
Zend_Form_Element::$_order
Zend_Form_Element::$_required
Zend_Form_Element::$_translator
Zend_Form_Element::$_translatorDisabled
Zend_Form_Element::$_type
Zend_Form_Element::$_validatorRules
Zend_Form_Element::$_validators
Zend_Form_Element::$_value
Zend_Form_Element::$_view
Methods
clearConstraints (line 200)

Clear all constraints

  • access: public
getConstraint (line 158)

Get an individual constraint

  • access: public
mixed getConstraint (string $key)
  • string $key
getConstraints (line 172)

Get constraints

  • access: public
array getConstraints ()
getInvalidMessage (line 60)

Retrieve invalidMessage

  • access: public
string|null getInvalidMessage ()
getPromptMessage (line 82)

Retrieve promptMessage

  • access: public
string|null getPromptMessage ()
getRegExp (line 104)

Retrieve regExp

  • access: public
string|null getRegExp ()
hasConstraint (line 146)

Is the given constraint set?

  • access: public
bool hasConstraint (string $key)
  • string $key
removeConstraint (line 186)

Remove a single constraint

  • access: public
Zend_Dojo_Form_Element_ValidationTextBox removeConstraint (string $key)
  • string $key
setConstraint (line 116)

Set an individual constraint

  • access: public
Zend_Dojo_Form_Element_ValidationTextBox setConstraint (string $key, mixed $value)
  • string $key
  • mixed $value
setConstraints (line 133)

Set validation constraints

Refer to Dojo dijit.form.ValidationTextBox documentation for valid structure.

  • access: public
Zend_Dojo_Form_Element_ValidationTextBox setConstraints ( $constraints)
  • array $constraints
setInvalidMessage (line 49)

Set invalidMessage

  • access: public
Zend_Dojo_Form_Element_ValidationTextBox setInvalidMessage (string $message)
  • string $message
setPromptMessage (line 71)

Set promptMessage

  • access: public
Zend_Dojo_Form_Element_ValidationTextBox setPromptMessage (string $message)
  • string $message
setRegExp (line 93)

Set regExp

  • access: public
Zend_Dojo_Form_Element_ValidationTextBox setRegExp (string $regexp)
  • string $regexp
_castBoolToString (line 212)

Cast a boolean value to a string

  • access: protected
void _castBoolToString ( &$item, string $key, mixed $item)
  • mixed $item
  • string $key
  • &$item

Inherited Methods

Inherited From Zend_Dojo_Form_Element_TextBox

 Zend_Dojo_Form_Element_TextBox::getLowercase()
 Zend_Dojo_Form_Element_TextBox::getMaxLength()
 Zend_Dojo_Form_Element_TextBox::getPropercase()
 Zend_Dojo_Form_Element_TextBox::getTrim()
 Zend_Dojo_Form_Element_TextBox::getUppercase()
 Zend_Dojo_Form_Element_TextBox::setLowercase()
 Zend_Dojo_Form_Element_TextBox::setMaxLength()
 Zend_Dojo_Form_Element_TextBox::setPropercase()
 Zend_Dojo_Form_Element_TextBox::setTrim()
 Zend_Dojo_Form_Element_TextBox::setUppercase()

Inherited From Zend_Dojo_Form_Element_Dijit

 Zend_Dojo_Form_Element_Dijit::__construct()
 Zend_Dojo_Form_Element_Dijit::clearDijitParams()
 Zend_Dojo_Form_Element_Dijit::getDijitParam()
 Zend_Dojo_Form_Element_Dijit::getDijitParams()
 Zend_Dojo_Form_Element_Dijit::hasDijitParam()
 Zend_Dojo_Form_Element_Dijit::loadDefaultDecorators()
 Zend_Dojo_Form_Element_Dijit::removeDijitParam()
 Zend_Dojo_Form_Element_Dijit::setDijitParam()
 Zend_Dojo_Form_Element_Dijit::setDijitParams()
 Zend_Dojo_Form_Element_Dijit::setView()

Inherited From Zend_Form_Element

 Zend_Form_Element::__construct()
 Zend_Form_Element::addDecorator()
 Zend_Form_Element::addDecorators()
 Zend_Form_Element::addError()
 Zend_Form_Element::addErrorMessage()
 Zend_Form_Element::addErrorMessages()
 Zend_Form_Element::addErrors()
 Zend_Form_Element::addFilter()
 Zend_Form_Element::addFilters()
 Zend_Form_Element::addPrefixPath()
 Zend_Form_Element::addPrefixPaths()
 Zend_Form_Element::addValidator()
 Zend_Form_Element::addValidators()
 Zend_Form_Element::autoInsertNotEmptyValidator()
 Zend_Form_Element::clearDecorators()
 Zend_Form_Element::clearErrorMessages()
 Zend_Form_Element::clearFilters()
 Zend_Form_Element::clearValidators()
 Zend_Form_Element::filterName()
 Zend_Form_Element::getAllowEmpty()
 Zend_Form_Element::getAttrib()
 Zend_Form_Element::getAttribs()
 Zend_Form_Element::getBelongsTo()
 Zend_Form_Element::getDecorator()
 Zend_Form_Element::getDecorators()
 Zend_Form_Element::getDescription()
 Zend_Form_Element::getErrorMessages()
 Zend_Form_Element::getErrorMessageSeparator()
 Zend_Form_Element::getErrors()
 Zend_Form_Element::getFilter()
 Zend_Form_Element::getFilters()
 Zend_Form_Element::getFullyQualifiedName()
 Zend_Form_Element::getId()
 Zend_Form_Element::getIgnore()
 Zend_Form_Element::getLabel()
 Zend_Form_Element::getMessages()
 Zend_Form_Element::getName()
 Zend_Form_Element::getOrder()
 Zend_Form_Element::getPluginLoader()
 Zend_Form_Element::getTranslator()
 Zend_Form_Element::getType()
 Zend_Form_Element::getUnfilteredValue()
 Zend_Form_Element::getValidator()
 Zend_Form_Element::getValidators()
 Zend_Form_Element::getValue()
 Zend_Form_Element::getView()
 Zend_Form_Element::hasErrors()
 Zend_Form_Element::init()
 Zend_Form_Element::isArray()
 Zend_Form_Element::isRequired()
 Zend_Form_Element::isValid()
 Zend_Form_Element::loadDefaultDecorators()
 Zend_Form_Element::loadDefaultDecoratorsIsDisabled()
 Zend_Form_Element::markAsError()
 Zend_Form_Element::removeDecorator()
 Zend_Form_Element::removeFilter()
 Zend_Form_Element::removeValidator()
 Zend_Form_Element::render()
 Zend_Form_Element::setAllowEmpty()
 Zend_Form_Element::setAttrib()
 Zend_Form_Element::setAttribs()
 Zend_Form_Element::setAutoInsertNotEmptyValidator()
 Zend_Form_Element::setBelongsTo()
 Zend_Form_Element::setConfig()
 Zend_Form_Element::setDecorators()
 Zend_Form_Element::setDescription()
 Zend_Form_Element::setDisableLoadDefaultDecorators()
 Zend_Form_Element::setDisableTranslator()
 Zend_Form_Element::setErrorMessages()
 Zend_Form_Element::setErrorMessageSeparator()
 Zend_Form_Element::setErrors()
 Zend_Form_Element::setFilters()
 Zend_Form_Element::setIgnore()
 Zend_Form_Element::setIsArray()
 Zend_Form_Element::setLabel()
 Zend_Form_Element::setName()
 Zend_Form_Element::setOptions()
 Zend_Form_Element::setOrder()
 Zend_Form_Element::setPluginLoader()
 Zend_Form_Element::setRequired()
 Zend_Form_Element::setTranslator()
 Zend_Form_Element::setValidators()
 Zend_Form_Element::setValue()
 Zend_Form_Element::setView()
 Zend_Form_Element::translatorIsDisabled()
 Zend_Form_Element::_filterValue()
 Zend_Form_Element::_getDecorator()
 Zend_Form_Element::_getErrorMessages()
 Zend_Form_Element::_hasErrorMessages()
 Zend_Form_Element::_loadDecorator()
 Zend_Form_Element::_loadFilter()
 Zend_Form_Element::_loadValidator()
 Zend_Form_Element::__call()
 Zend_Form_Element::__get()
 Zend_Form_Element::__set()
 Zend_Form_Element::__toString()
Class Constants

Documentation generated on Thu, 01 Apr 2010 13:27:39 -0400 by phpDocumentor 1.4.3