/**
  * @return array Возвращает данные для отчета
  */
 protected function getReportData()
 {
     $model = new Platforms('search');
     $model->unsetAttributes();
     $provider = $model->search(array(), null);
     return $provider->getData();
 }
 /**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new Platforms('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['Platforms'])) {
         $model->attributes = $_GET['Platforms'];
     }
     $this->render('admin', array('model' => $model));
 }