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