[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery/classes AlbumItem.class,1.1.2.1,1.1.2.2
From:       Bharat Mediratta <bharat () users ! sourceforge ! net>
Date:       2001-11-29 6:53:03
[Download RAW message or body]

Update of /cvsroot/gallery/gallery/classes
In directory usw-pr-cvs1:/tmp/cvs-serv27653

Modified Files:
      Tag: class-revolt-branch
	AlbumItem.class 
Log Message:
This class now overloads GalleryNucleus' setPath()


Index: AlbumItem.class
===================================================================
RCS file: /cvsroot/gallery/gallery/classes/Attic/AlbumItem.class,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- AlbumItem.class	2001/11/28 07:27:33	1.1.2.1
+++ AlbumItem.class	2001/11/29 06:53:01	1.1.2.2
@@ -104,6 +104,19 @@
     }
 
     /**
+     * Change the path component of this item of this item
+     *
+     * Overload GalleryNucleus' setPath so that when we change the path of an
+     * AlbumItem we also rename the underlying directory.
+     *
+     * @access public
+     * @param string the path component
+     * @return boolean false if the path already exists, true otherwise
+     */
+    function setPath($newname) {
+    }
+
+    /**
      * Set this as a root album
      *
      * Attempt to take over maintaining the top of the album tree.  Check the


_______________________________________________
Gallery-checkins mailing list
Gallery-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gallery-checkins

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic