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.
INVALID = 'alphaInvalid'
Details NOT_ALPHA = 'notAlpha'
Details STRING_EMPTY = 'alphaStringEmpty'
DetailsZend_Filter_Alpha $_filter = 'null'Alphabetic filter used for validation
Detailsarray $_messageTemplates = 'array'Validation failure message template definitions
Detailsboolean $allowWhiteSpace = ''Whether to allow white space characters; off by default
Details__construct(
boolean|Zend_Config $allowWhiteSpace
=
false
)
:
voidSets default option values for this instance
DetailsgetAllowWhiteSpace(
)
:
booleanReturns the allowWhiteSpace option
DetailsisValid(
string $value
)
:
booleanDefined by Zend_Validate_Interface
Returns true if and only if $value contains only alphabetic characters
DetailssetAllowWhiteSpace(
boolean $allowWhiteSpace
)
:
Zend_Filter_AlphaSets the allowWhiteSpace option
Details