rename image selection function
authorAndreas Unterkircher <unki@netshadow.at>
Mon, 11 Jun 2007 19:37:18 +0000 (19:37 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Mon, 11 Jun 2007 19:37:18 +0000 (19:37 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@80 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php

index b635b30256da6c1174dca62f24e429437262db9e..fc6b3764e9f0e3f22fa4bdf70cee29971515ad30 100644 (file)
@@ -100,7 +100,7 @@ class PHPFSPOT {
 
    public function showPhoto($photo)
    {
 
    public function showPhoto($photo)
    {
-      $all_photos = $this->getAllTagPhotos();
+      $all_photos = $this->getPhotoSelection();
 
       foreach($all_photos as $all_photo) {
          
 
       foreach($all_photos as $all_photo) {
          
@@ -193,7 +193,7 @@ class PHPFSPOT {
 
    } // resetTags()
 
 
    } // resetTags()
 
-   public function getAllTagPhotos()
+   public function getPhotoSelection()
    {  
       $tagged_photos = Array();
 
    {  
       $tagged_photos = Array();
 
@@ -261,12 +261,12 @@ class PHPFSPOT {
 
       return $tagged_photos;
 
 
       return $tagged_photos;
 
-   } // getAllTagPhotos()
+   } // getPhotoSelection()
 
    public function showPhotoIndex()
    {
       if($_SESSION['searchfor'] == '')
 
    public function showPhotoIndex()
    {
       if($_SESSION['searchfor'] == '')
-         $photos = $this->getAllTagPhotos();
+         $photos = $this->getPhotoSelection();
       else
          $photos = $this->getSearchResult($_SESSION['searchfor']);
 
       else
          $photos = $this->getSearchResult($_SESSION['searchfor']);
 
@@ -416,7 +416,7 @@ class PHPFSPOT {
    {
       if(!$idx) {
          /* get all available photos */
    {
       if(!$idx) {
          /* get all available photos */
-         $all = $this->getAllTagPhotos();
+         $all = $this->getPhotoSelection();
       }
       else
          $all = Array($idx);
       }
       else
          $all = Array($idx);