public function actionList() { $model = new MastersEmployees('search'); $model->unsetAttributes(); if (isset($_GET['MastersEmployees'])) { $model->attributes = $_GET['MastersEmployees']; } $this->renderPartial('list', array('model' => $model), false, true); }
public function actionIndex() { $model = new MastersEmployees('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['MastersEmployees'])) { $model->attributes = $_GET['MastersEmployees']; } $this->render('index', array('model' => $model)); }
public function actionSelectlist() { $model = new MastersEmployees('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['MastersEmployees'])) { $model->attributes = $_GET['MastersEmployees']; } $this->renderPartial('selectlist', array('model' => $model), false, true); }