Beispiel #1
0
 protected function _setupValidators()
 {
     $rowSet = $this->_service->findDependentRowset('WsServiceValidator', null, $this->_service->select()->where('ghost = ?', 'FALSE'));
     foreach ($rowSet as $row) {
         if (class_exists($row->validator_name)) {
             $validator = $this->_createValidatorInstance($row->validator_name, $row->getValidatorParams());
         }
         $this->addValidator($validator);
     }
 }