/**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new DocumentCategory('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['DocumentCategory'])) {
         $model->attributes = $_GET['DocumentCategory'];
     }
     $this->render('admin', array('model' => $model));
 }