/**
  * 
  * init by another slide
  */
 private function initBySlide(RevSlide $slide)
 {
     $this->id = "template";
     $this->templateID = $slide->getID();
     $this->sliderID = $slide->getSliderID();
     $this->slideOrder = $slide->getOrder();
     $this->imageUrl = $slide->getImageUrl();
     $this->imageID = $slide->getImageID();
     $this->imageThumb = $slide->getThumbUrl();
     $this->imageFilepath = $slide->getImageFilepath();
     $this->imageFilename = $slide->getImageFilename();
     $this->params = $slide->getParams();
     $this->arrLayers = $slide->getLayers();
     $this->arrChildren = $slide->getArrChildrenPure();
 }