示例#1
0
 public function actionAdmin()
 {
     $model = new VendorNote('search');
     $model->unsetAttributes();
     if (isset($_GET['VendorNote'])) {
         $model->setAttributes($_GET['VendorNote']);
     }
     $this->render('admin', array('model' => $model));
 }