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.
ALLOW_EMPTY = 'allowEmpty'
BREAK_CHAIN = 'breakChainOnFailure'
DEFAULT_VALUE = 'default'
MESSAGES = 'messages'
ESCAPE_FILTER = 'escapeFilter'
FIELDS = 'fields'
FILTER = 'filter'
FILTER_CHAIN = 'filterChain'
MISSING_MESSAGE = 'missingMessage'
INPUT_NAMESPACE = 'inputNamespace'
VALIDATOR_NAMESPACE = 'validatorNamespace'
FILTER_NAMESPACE = 'filterNamespace'
NOT_EMPTY_MESSAGE = 'notEmptyMessage'
PRESENCE = 'presence'
PRESENCE_OPTIONAL = 'optional'
PRESENCE_REQUIRED = 'required'
RULE = 'rule'
RULE_WILDCARD = '*'
VALIDATE = 'validate'
VALIDATOR = 'validator'
VALIDATOR_CHAIN = 'validatorChain'
VALIDATOR_CHAIN_COUNT = 'validatorChainCount'
array $_data = 'array'
Zend_Filter_Interface $_defaultEscapeFilter = 'null'
array $_defaults = 'array'
array $_filterRules = 'array'
array $_invalidErrors = 'array'
array $_invalidMessages = 'array'
array $_loaders = 'array'
Plugin loaders
array $_missingFields = 'array'
boolean $_processed = 'false'
Zend_Translate $_translator = ''
Translation object
Boolean $_translatorDisabled = 'false'
Is translation disabled?
array $_unknownFields = 'array'
array $_validFields = 'array'
array $_validatorRules = 'array'
__construct(
array $filterRules, array $validatorRules, array $data
=
null, array $options
=
null
)
:
__get(
string $fieldName
)
:
mixed
__isset(
string $fieldName
)
:
boolean
_escapeRecursive(
$data
)
:
mixed
_filter(
)
:
void
_filterRule(
array $filterRule
)
:
void
_getDefaultEscapeFilter(
)
:
Zend_Filter_Interface
_getFilter(
mixed $classBaseName
)
:
Zend_Filter_Interface
_getFilterOrValidator(
string $type, mixed $classBaseName
)
:
Zend_Filter_Interface|Zend_Validate_Interface
_getMissingMessage(
string $rule, string $field
)
:
string
_getNotEmptyMessage(
$rule, $field
)
:
string
_getValidator(
mixed $classBaseName
)
:
Zend_Validate_Interface
_process(
)
:
void
_validate(
)
:
void
_validateRule(
array $validatorRule
)
:
void
addFilterPrefixPath(
string $prefix, string $path
)
:
Zend_Filter_Input
Add prefix path for all elements
addNamespace(
mixed $namespaces
)
:
Zend_Filter_Input
addValidatorPrefixPath(
string $prefix, string $path
)
:
Zend_Filter_Input
Add prefix path for all elements
getErrors(
)
:
array
getEscaped(
string $fieldName
=
null
)
:
mixed
getInvalid(
)
:
array
getMessages(
)
:
array
getMissing(
)
:
array
getPluginLoader(
string $type
)
:
Zend_Loader_PluginLoader_Interface
Retrieve plugin loader for given type
$type may be one of: - filter - validator
If a plugin loader does not exist for the given type, defaults are created.
getTranslator(
)
:
Zend_Translate_Adapter|null
Return translation object
getUnescaped(
string $fieldName
=
null
)
:
mixed
getUnknown(
)
:
array
hasInvalid(
)
:
boolean
hasMissing(
)
:
boolean
hasUnknown(
)
:
boolean
hasValid(
)
:
boolean
isValid(
string $fieldName
=
null
)
:
boolean
setData(
array $data
)
:
Zend_Filter_Input
setDefaultEscapeFilter(
mixed $escapeFilter
)
:
Zend_Filter_Interface
setDisableTranslator(
bool $flag
)
:
Zend_Filter_Input
Indicate whether or not translation should be disabled
setOptions(
array $options
)
:
Zend_Filter_Input
setPluginLoader(
Zend_Loader_PluginLoader_Interface $loader, string $type
)
:
Zend_Filter_Input
Set plugin loaders for use with decorators and elements
setTranslator(
Zend_Translate|Zend_Translate_Adapter|null $translator
=
null
)
:
Zend_Filter_Input
Set translation object
translatorIsDisabled(
)
:
bool
Is translation disabled?