/**
  *
  * put slide preview by data
  */
 public function putSlidePreviewByData($data)
 {
     if ($data == "empty_output") {
         $this->loadingMessageOutput();
         exit;
     }
     $data = UniteFunctionsRev::jsonDecodeFromClientSide($data);
     $slideID = $data["slideid"];
     $slide = new RevSlide();
     $slide->initByID($slideID);
     $sliderID = $slide->getSliderID();
     $output = new RevSliderOutput();
     $output->setOneSlideMode($data);
     $this->previewOutput($sliderID, $output);
 }
 /**
  * 
  * put slide preview by data
  */
 public function putSlidePreviewByData($data)
 {
     $data = UniteFunctionsRev::jsonDecodeFromClientSide($data);
     $sliderID = $data["sliderid"];
     $output = new UniteRevolutionOutput();
     $output->setOneSlideMode($data);
     $this->previewOutput($sliderID, $output);
 }