/** * Returns all slides */ public function getAllSlideList($uniqName = null) { if ($uniqName) { return $this->slideDao->findAllByUniqueName($uniqName); } else { return $this->slideDao->findAll(); } }