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