} /**
* Load all the validator classes and add them to the chain.
*/
if (!
isset($validatorRule[self::VALIDATOR_CHAIN
])) { $validatorRule[self::VALIDATOR_CHAIN
] =
new Zend_Validate();
foreach ($validatorList as $key =>
$validator) { if (is_string($validator) ||
is_array($validator)) { $validator =
$this->
_getValidator($validator);
} if (isset($validatorRule[self::MESSAGES
][$key])) { $value =
$validatorRule[self::MESSAGES
][$key];
if (is_array($value)) { $validator->
setMessages($value);
} else { $validator->
setMessage($value);
} if ($validator instanceof Zend_Validate_NotEmpty
) {