AnselAnsel Base Class.
Located in /lib/Ansel.php (line 24)
string
getImageUrl
(string $imageId, [string $view = 'screen'], [boolean $full = false], [string $style = null])
void
getUrlFor
(string $controller, array $data, [boolean $full = false], [integer $append_session = 0], string 4)
string
selectGalleries
([array $selected = null], [integer $perm = PERMS_SHOW], [mixed $attributes = null], [string $parent = null], [ $allLevels = true], [integer $from = 0], [integer $count = 0], [integer $ignore = null])
attachStylesheet (line 897)
Add a custom stylesheet to the current page
downloadImagesAsZip (line 965)
Downloads all requested images as a zip file. Assumes all permissions have been checked on the requested resource.
getAvailableStyles (line 825)
Get an array of all currently viewable styles.
getBreadCrumbs (line 655)
Generate a list of breadcrumbs showing where we are in the gallery tree.
getDateParameter (line 944)
Get a date parts array containing only enough date parts for the depth we are at. If an empty array is passed, attempt to get the parts from url parametrs. Any missing date parts must be set to 0.
getDb (line 31)
Create and initialize the database object.
getErrorImage (line 164)
Return a link to a photo placeholder, suitable for use in an <img/> tag (or a Horde::img() call, with the path parameter set to * '').
This photo should be used as a placeholder if the correct photo can't be retrieved
getImageFromFile (line 521)
Read an image from the filesystem.
getImageObject (line 502)
Obtain a Horde_Image object
getImageUrl (line 430)
Return a link to an image, suitable for use in an <img/> tag Takes into account $conf['vfs']['direct'] and other factors.
getMenu (line 585)
Build Ansel's list of menu items.
getStyleDefinition (line 868)
Get a style definition for the requested named style
getStyleSelect (line 788)
Build a HTML <select> element containing all the available gallery styles.
getUrlFor (line 181)
Return a properly formatted link depending on the global pretty url configuration
getVFS (line 66)
Create and initialize the VFS object
isAvailable (line 560)
Check to see if a particular image manipulation function is available.
selectGalleries (line 104)
Return a string containing an <option> listing of the given gallery array.
stylesheetLinks (line 910)
Output the stylesheet links
Documentation generated on Sun, 30 Jan 2011 05:08:43 +0000 by phpDocumentor 1.4.3