Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
ValidationTextBox dijit
string $helper = 'ValidationTextBox'
Use ValidationTextBox dijit view helper
_castBoolToString(
mixed $item, string $key
)
:
void
Cast a boolean value to a string
clearConstraints(
)
:
Zend_Dojo_Form_Element_ValidationTextBox
Clear all constraints
getConstraint(
string $key
)
:
mixed
Get an individual constraint
getConstraints(
)
:
array
Get constraints
getInvalidMessage(
)
:
string|null
Retrieve invalidMessage
getPromptMessage(
)
:
string|null
Retrieve promptMessage
getRegExp(
)
:
string|null
Retrieve regExp
hasConstraint(
string $key
)
:
bool
Is the given constraint set?
removeConstraint(
string $key
)
:
Zend_Dojo_Form_Element_ValidationTextBox
Remove a single constraint
setConstraint(
string $key, mixed $value
)
:
Zend_Dojo_Form_Element_ValidationTextBox
Set an individual constraint
setConstraints(
array $constraints
)
:
Zend_Dojo_Form_Element_ValidationTextBox
Set validation constraints
Refer to Dojo dijit.form.ValidationTextBox documentation for valid structure.
setInvalidMessage(
string $message
)
:
Zend_Dojo_Form_Element_ValidationTextBox
Set invalidMessage
setPromptMessage(
string $message
)
:
Zend_Dojo_Form_Element_ValidationTextBox
Set promptMessage
setRegExp(
string $regexp
)
:
Zend_Dojo_Form_Element_ValidationTextBox
Set regExp