Beispiel #1
0
 /**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new Incomes('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Incomes'])) {
         $model->attributes = $_GET['Incomes'];
     }
     $this->render('admin', array('model' => $model));
 }