elementId = self::$_identifier . '-' . 0; } public function initSlides() { if ($this->loadState < self::LOAD_STATE_SLIDES) { $this->initSlider(); if (!$this->isGroup) { $this->slidesBuilder = new AdminSlides($this); $this->slidesBuilder->initSlides($this->parameters['slidesData'], $this->parameters['generatorData']); } $this->loadState = self::LOAD_STATE_SLIDES; } } /** * @return Slide */ public function getEditedSlide() { return $this->slidesBuilder->getEditedSlide(); } /** * @return int */ public function getEditedSlideID() { return $this->editedSlideID; } /** * @param int $editedSlideID */ public function setEditedSlideID($editedSlideID) { $this->editedSlideID = $editedSlideID; } }