Closed GoogleCodeExporter closed 8 years ago
Use code like this on your child class:
public function rules() {
return array_merge(parent::rules(), array(
array(...rule...),
));
}
Original comment by rodrigo.coelho@gmail.com
on 21 Mar 2012 at 7:43
Many thanks! It solved my problem. Sorry my ignorance.
Original comment by fsc7m...@gmail.com
on 21 Mar 2012 at 8:41
Original issue reported on code.google.com by
fsc7m...@gmail.com
on 21 Mar 2012 at 7:23