Ansel_GalleryMode_DateAnsel_GalleryMode_Date:: Class for encapsulating gallery methods that depend on the current display mode of the gallery being Date.
Located in /lib/GalleryMode/Date.php (line 20)
integer
countGalleryChildren
([integer $perm = PERMS_SHOW], [boolean $galleries_only = false], [boolean $noauto = true])
A
getGalleryChildren
([integer $perm = PERMS_SHOW], [integer $from = 0], [integer $to = 0], [ $noauto = false])
unknown
_getArraySlice
(unknown_type $array, unknown_type $from, unknown_type $count, [ $preserve = false])
array
$_date
= array() (line 32)
The date part array for the current grouping.
mixed
$_features
= array('slideshow', 'zipdownload', 'upload') (line 34)
Ansel_Gallery
$_gallery
(line 25)
mixed
$_subGalleries
= null (line 36)
Constructor Ansel_GalleryMode_Date (line 45)
Constructor
countGalleryChildren (line 376)
Return the count of this gallery's children
countImages (line 650)
Returns the number of images in this gallery and, optionally, all sub-galleries.
getDate (line 146)
Getter for _date
getGalleryChildren (line 182)
Get the children of this gallery.
getGalleryCrumbData (line 77)
Get an array describing where this gallery is in a breadcrumb trail.
getImages (line 616)
Gets a slice of the images in this gallery.
hasFeature (line 55)
hasSubGalleries (line 636)
Checks if the gallery has any subgalleries. This will always be false for a gallery in date view.
init (line 50)
listImages (line 397)
Lists a slice of the image ids in this gallery.
In Date mode, this only makes sense if we are currently viewing a specific day, otherwise we return 0.
moveImagesTo (line 428)
Moves images from one gallery to another. Since we're viewing by date some images might belong to a subgallery so we need to take care to udate the appropriate gallery data.
removeImage (line 496)
Remove an image from this gallery. Note that the image might actually belong to a subgallery of this gallery since we are viewing by date.
Need to take care of updating correct subgallery's image count etc...
setDate (line 156)
Setter for _date
_getArraySlice (line 583)
Helper function to get an array slice while preserving keys.
_getSubGalleries (line 161)
Documentation generated on Sun, 30 Jan 2011 05:08:44 +0000 by phpDocumentor 1.4.3