From 4b115eb08c6875625b71636151a3ddae38e67b8a Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Mon, 11 Jun 2007 19:37:18 +0000 Subject: rename image selection function git-svn-id: file:///var/lib/svn/phpfspot/trunk@80 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index b635b30..fc6b376 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -100,7 +100,7 @@ class PHPFSPOT { public function showPhoto($photo) { - $all_photos = $this->getAllTagPhotos(); + $all_photos = $this->getPhotoSelection(); foreach($all_photos as $all_photo) { @@ -193,7 +193,7 @@ class PHPFSPOT { } // resetTags() - public function getAllTagPhotos() + public function getPhotoSelection() { $tagged_photos = Array(); @@ -261,12 +261,12 @@ class PHPFSPOT { return $tagged_photos; - } // getAllTagPhotos() + } // getPhotoSelection() public function showPhotoIndex() { if($_SESSION['searchfor'] == '') - $photos = $this->getAllTagPhotos(); + $photos = $this->getPhotoSelection(); else $photos = $this->getSearchResult($_SESSION['searchfor']); @@ -416,7 +416,7 @@ class PHPFSPOT { { if(!$idx) { /* get all available photos */ - $all = $this->getAllTagPhotos(); + $all = $this->getPhotoSelection(); } else $all = Array($idx); -- cgit v1.2.3-18-g5258