示例#1
0
 public function rules()
 {
     return array_merge(array(array('email, new_password, new_password_repeat', 'required', 'on' => array('insert'))), parent::rules());
 }