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_CALLBACK = 'callbackInvalid'
Invalid callback
Details INVALID_VALUE = 'callbackValue'
Invalid value
Detailsstring|array $_callback = 'null'Callback in a call_user_func format
Detailsarray $_messageTemplates = 'array'Validation failure message template definitions
Detailsmixed $_options = 'array'Default options to set for the filter
Details__construct(
string|array $callback
=
null
)
:
voidSets validator options
DetailsgetCallback(
)
:
mixedReturns the set callback
DetailsgetOptions(
)
:
mixedReturns the set options for the callback
DetailsisValid(
mixed $value
)
:
booleanDefined by Zend_Validate_Interface
Returns true if and only if the set callback returns for the provided $value
DetailssetCallback(
string|array $callback
)
:
Zend_Validate_CallbackSets the callback
DetailssetOptions(
$options
)
:
Zend_Validate_CallbackSets options for the callback
Details