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