Ansel_GalleryClass to encapsulate a single gallery. Implemented as an extension of the Horde_Share_Object class.
Located in /lib/Ansel.php (line 1050)
Horde_Share_Object_sql_hierarchical | --Ansel_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], [boolean $noauto = true])
void
getTile
([Ansel_Gallery $parent = null], [string $style = null], [boolean $mini = false], [array $params = array()])
Constructor Ansel_Gallery (line 1088)
The Ansel_Gallery constructor.
addImage (line 1236)
Add an image to this gallery.
canDownload (line 1136)
Checks if the user can download the full photo
clearStacks (line 1301)
Clear all of this gallery's default image stacks from the VFS and the gallery's data store.
clearThumbs (line 1319)
Removes all generated and cached 'prettythumb' thumbnails for this
gallery
clearViews (line 1332)
Removes all generated and cached views for this gallery
copyImagesTo (line 1362)
Copy image and related data to specified gallery.
countGalleryChildren (line 1513)
Return the count of this gallery's children
countImages (line 1586)
Returns the number of images in this gallery and, optionally, all sub-galleries.
getDate (line 1956)
getDefaultImage (line 1601)
Returns the default image for this gallery.
getGalleryChildren (line 1499)
Get the children of this gallery.
getGalleryCrumbData (line 1967)
Get an array describing where this gallery is in a breadcrumb trail.
getImage (line 1564)
Returns the image in this gallery corresponding to the given id.
getImages (line 1539)
Gets a slice of the images in this gallery.
getOwner (line 1455)
Returns this share's owner's Identity object.
getRecentImages (line 1551)
Return the most recently added images in this gallery.
getStyle (line 1738)
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 1706)
Returns this gallery's tags.
getTile (line 1471)
Output the HTML for this gallery's tile.
hasFeature (line 1106)
Check for special capabilities of this gallery.
hasPasswd (line 1831)
Determine if we need to unlock a password protected gallery
hasPermission (line 1782)
Checks to see if a user has a given permission.
hasSubGalleries (line 1572)
Checks if the gallery has any subgallery
isOldEnough (line 1799)
Check user age limtation
listImages (line 1526)
Lists a slice of the image ids in this gallery.
moveImagesTo (line 1349)
Move images from this gallery to a new gallery.
removeImage (line 1445)
Remove the given image from this gallery.
set (line 1914)
Sets an attribute value in this object.
setDate (line 1951)
setImageOrder (line 1432)
Set the order of an image in this gallery.
setParent (line 1856)
Sets this gallery's parent gallery.
setTags (line 1720)
Set/replace this gallery's tags.
_getViewHash (line 1758)
Return a hash key for the given view and style.
_save (line 1165)
Saves any changes to this object to the backend permanently.
_setModeHelper (line 1122)
Simple factory to retrieve the proper mode object.
_updateImageCount (line 1197)
Update the gallery image count.
__sleep (line 1067)
__wakeup (line 1076)
Documentation generated on Sun, 30 Jan 2011 05:08:43 +0000 by phpDocumentor 1.4.3