summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-11 19:37:18 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-11 19:37:18 +0000
commit4b115eb08c6875625b71636151a3ddae38e67b8a (patch)
tree065b977b97a83eeb6f251645478128310ccfc6ba
parentc48fe9f8904f3e82b484bba7b62c79a58a9dc5b4 (diff)
rename image selection function
git-svn-id: file:///var/lib/svn/phpfspot/trunk@80 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot.class.php10
1 files 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);