/**
  * Manages all models.
  */
 public function actionManage()
 {
     $model = new AlbumPhotoTag('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['AlbumPhotoTag'])) {
         $model->attributes = $_GET['AlbumPhotoTag'];
     }
     $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', 'Album Photo Tags Manage');
     $this->pageDescription = '';
     $this->pageMeta = '';
     $this->render('/o/photo_tag/admin_manage', array('model' => $model, 'columns' => $columns));
 }