使用Zend_Filter_Input时,是先处理过滤器还是验证器?
答案 0 :(得分:4)
:
public function isValid($fieldName = null)
{
$this->_process();
(...)
}
protected function _process()
{
if ($this->_processed === false) {
$this->_filter();
$this->_validate();
$this->_processed = true;
}
}