/** * Returns current photo index in album * * @param int $albumId * @param int $id * @return int */ public function getPhotoIndex($albumId, $id) { return $this->photoDao->getPhotoIndex($albumId, $id); }