/**
  * 
  * export slider from data, output a file for download
  */
 public function exportSlider()
 {
     $this->validateInited();
     $sliderParams = $this->getParamsForExport();
     $arrSlides = $this->getSlidesForExport();
     $arrSliderExport = array("params" => $sliderParams, "slides" => $arrSlides);
     $strExport = serialize($arrSliderExport);
     if (!empty($this->alias)) {
         $filename = $this->alias . ".txt";
     } else {
         $filename = "slider_export.txt";
     }
     UniteFunctionsBiz::downloadFile($strExport, $filename);
 }