예제 #1
0
파일: Batch.php 프로젝트: kirkbauer2/kirkxc
 /**
  * Get validator
  *
  * @return \XLite\Core\Validator\HashArray
  */
 protected function getValidator()
 {
     $validator = parent::getValidator();
     $validator->addPair('postedData', new \XLite\Core\Validator\PlainArray())->setValidator($this->getDataValidator());
     return $validator;
 }