_images; //$this->_addSliderImages($images); //$this->_addHeaderImages($images); } $this->_doc->getSmarty()->assign('PRELOAD_IMAGES', array_values($images));*/ $this->_doc->getSmarty()->assign('PRELOAD_IMAGES', array_values($this->_images)); return $this; } public function setImages(array $list) { $this->_images = array_merge($this->_images, array_values($list)); return $this; } public function _addSliderImages(array &$images) { $images = array_merge($images, (new WideSlideObj())->getPreloadImages()); return $this; } public function _addHeaderImages(array &$images) { $images = array_merge($images, (new App_Cms_Obj())->getPreloadImages()); return $this; } }