/** * * init elements like sildes array that will be used in main output. */ private function initMainOutput() { //set js id: self::$counter++; $this->sliderJSID = "unite_carousel_" . $this->sliderID . "_" . self::$counter; $this->arrSlides = HelperUniteHCar::getArrSlides($this->sliderID); }