public function actionPvpCurrent($realm) { $model = new Character('pvp_current'); $model->unsetAttributes(); if (isset($_GET['Character'])) { $model->attributes = $_GET['Character']; } $this->render('pvp', array('model' => $model, 'current' => true)); }
public function actionIndex() { $this->layout = '//layouts/column1'; $model = new Character('search'); $model->unsetAttributes(); if (isset($_GET['Character'])) { $model->attributes = $_GET['Character']; } $this->render('index', array('model' => $model)); }