/**
  * Assemble validation rules
  *
  * @return array
  */
 protected function assembleValidationRules()
 {
     $list = array_diff(parent::assembleValidationRules(), array('custom[number]'));
     $list[] = 'custom[numberWithInfinity]';
     return $list;
 }
Exemple #2
0
 /**
  * Assemble validation rules
  *
  * @return array
  */
 protected function assembleValidationRules()
 {
     $rules = parent::assembleValidationRules();
     $rules[] = 'funcCall[validateCouponTotal]';
     return $rules;
 }