コード例 #1
0
 public function actionIndex()
 {
     $model = new Operation('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Operation'])) {
         $model->attributes = $_GET['Operation'];
     }
     $this->render('index', array('model' => $model));
 }