Ansel_Gallery_DateA wrapper/decorator around an Ansel_Gallery to allow multiple date groupings to access the same Ansel_Gallery instance. This is not a full Ansel_Gallery implementation.
TODO: For PHP5, this should be rewritten to get rid of all these gosh-darn pass through functions.
Located in /lib/GalleryMode/Date.php (line 665)
Ansel_Gallery_Date
Ansel_Gallery_Date
( &$gallery, [array $images = array()], Ansel_Gallery $gallery)
integer
countGalleryChildren
([integer $perm = PERMS_SHOW], [boolean $galleries_only = false], [ $noauto = true])
A
getGalleryChildren
([integer $perm = PERMS_SHOW], [integer $from = 0], [integer $to = 0], [ $noauto = false])
void
getTile
([Ansel_Gallery $parent = null], [string $style = null], [boolean $mini = false], [array $params = array()])
Constructor Ansel_Gallery_Date (line 690)
The Ansel_Gallery_Date constructor.
canDownload (line 717)
Checks if the user can download the full photo
copyImagesTo (line 730)
Copy image and related data to specified gallery.
countChildren (line 991)
Return a count of the number of children this share has
countGalleryChildren (line 815)
Return the count this gallery's children
countImages (line 891)
Returns the number of images in this gallery and, optionally, all sub-galleries.
get (line 1031)
getChildren (line 1005)
Get all children of this share.
getDate (line 1036)
getDefaultImage (line 906)
Returns the default image for this gallery.
getGalleryChildren (line 801)
Get the children of this gallery.
getImage (line 869)
Returns the image in this gallery corresponding to the given id.
getImages (line 844)
Gets a slice of the images in this gallery.
getOwner (line 764)
Returns this share's owner's Identity object.
getParent (line 1015)
Returns a child's direct parent
getParents (line 1025)
Get all of this share's parents.
getRecentImages (line 856)
Return the most recently added images in this gallery.
getStyle (line 941)
Return the style definition for this gallery. Returns the first available style in this order: Explicitly configured style if available, if configured style is not available, use ansel_default. If nothing has been configured, the user's selected default is attempted.
getTags (line 918)
Returns this gallery's tags.
getTile (line 778)
Output the HTML for this gallery's tile.
hasPermission (line 968)
Checks to see if a user has a given permission.
hasSubGalleries (line 877)
Checks if the gallery has any subgallery
isOldEnough (line 978)
Check user age limtation
listImages (line 831)
Lists a slice of the image ids in this gallery.
removeImage (line 754)
Remove the given image from this gallery.
setDate (line 1041)
setImageOrder (line 741)
Set the order of an image in this gallery.
setTags (line 928)
Set/replace this gallery's tags.
_getViewHash (line 954)
Return a hash key for the given view and style.
_setModeHelper (line 706)
Sets a new GalleryMode helper for this decorated gallery. The client code (Ansel_GalleryMode_Date) needs to call the setDate() method on the new GalleryMode_Date object before it's used.
Documentation generated on Sun, 30 Jan 2011 05:08:45 +0000 by phpDocumentor 1.4.3