/** * Lists all models. */ public function actionIndex() { $model = new PlaceHolders('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['PlaceHolders'])) { $model->attributes = $_GET['PlaceHolders']; } $this->render('index', array('model' => $model, 'actions' => $this->listActionsCanAccess)); }