/** * Manages all models. */ public function actionManage() { //Update module add-on $this->updateModule(); $model = new OmmuPlugins('search'); $model->unsetAttributes(); // clear any default values if (isset($_GET['OmmuPlugins'])) { $model->attributes = $_GET['OmmuPlugins']; } $columnTemp = array(); if (isset($_GET['GridColumn'])) { foreach ($_GET['GridColumn'] as $key => $val) { if ($_GET['GridColumn'][$key] == 1) { $columnTemp[] = $key; } } } $columns = $model->getGridColumn($columnTemp); $this->pageTitle = Yii::t('phrase', 'Manage Modules'); $this->pageDescription = Yii::t('phrase', 'Any SocialEngine plugins that you have installed will appear on this page. Note that some plugins may have user level-specific settings which are available on the User Levels page.'); $this->pageMeta = ''; $this->render('admin_manage', array('model' => $model, 'columns' => $columns)); }