25 #require_once 'Zend/Validate/Abstract.php'; 51 self::INVALID_VALUE =>
"'%value%' is not valid",
52 self::INVALID_CALLBACK =>
"An exception has been raised within the callback",
77 if (is_callable($callback)) {
79 }
elseif (is_array($callback)) {
80 if (isset($callback[
'callback'])) {
83 if (isset($callback[
'options'])) {
88 if (
null === ($initializedCallack = $this->
getCallback())) {
89 #require_once 'Zend/Validate/Exception.php'; 113 if (!is_callable($callback)) {
114 #require_once 'Zend/Validate/Exception.php'; 117 $this->_callback = $callback;
158 $args = func_get_args();
162 if (!call_user_func_array($callback,
$options)) {
163 $this->
_error(self::INVALID_VALUE);
166 }
catch (Exception $e) {
167 $this->
_error(self::INVALID_CALLBACK);
__construct($callback=null)
elseif(isset( $params[ 'redirect_parent']))
_error($messageKey, $value=null)