Class Ansel_View_GalleryRenderer

Description

Ansel_View_GalleryRenderer:: Base class for all gallery renderers.

$Horde: ansel/lib/Views/GalleryRenderer.php,v 1.4.2.7 2009/06/22 17:00:19 mrubinsk Exp $

Copyright 2008-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

Located in /lib/Views/GalleryRenderer.php (line 15)


	
			
Direct descendents
Class Description
 class Ansel_View_GalleryRenderer_Gallery Ansel_View_GalleryRenderer:: Base class for all gallery renderers.
 class Ansel_View_GalleryRenderer_GalleryLightbox Ansel_View_GalleryRenderer:: Base class for all gallery renderers.
Variable Summary
 array $children
 array $date
 integer $galleryId
 string $gallerySlug
 integer $mode
 integer $numTiles
 integer $page
 integer $pageend
 integer $pagestart
 integer $perpage
 array $style
Method Summary
 Ansel_View_Renderer_Gallery Ansel_View_GalleryRenderer (Ansel_View_Gallery $view)
 void fetchChildren ( $noauto)
 string html ()
 void init ()
Variables
array $children (line 95)

The Ansel_Image or Ansel_DateGallery objects that appear on the current page in the current view.

  • var: of Ansel_Image or Ansel_DateGallery objects.
array $date = array() (line 102)

If we are grouping by date, this holds the currently selected date parts.

  • var: containing sufficient date parts for the current depth.
integer $galleryId (line 29)

The gallery id for this view's gallery

string $gallerySlug (line 36)

Gallery slug for current gallery.

integer $mode (line 52)

The display mode of the current gallery.

  1. == Normal
  2. == Group by date

integer $numTiles (line 87)

The total number of tiles that this view contains

integer $page = 0 (line 43)

The current page we are viewing

integer $pageend (line 80)

The last tile number on the current page.

integer $pagestart (line 73)

The tile number we are starting with on the current page.

integer $perpage (line 66)

Holds number of tiles to display per page

array $style (line 59)

The style definition array for this gallery.

Ansel_View_Gallery $view (line 22)

The Ansel_View_Gallery object that this Renderer belongs to.

Methods
Constructor Ansel_View_GalleryRenderer (line 111)

Constructor

Ansel_View_Renderer_Gallery Ansel_View_GalleryRenderer (Ansel_View_Gallery $view)
fetchChildren (line 191)

Default implementation for fetching children/images for this view.

Other view classes can override this if they need anything special.

void fetchChildren ( $noauto)
  • $noauto
html (line 213)

Return the HTML for this view. Done this way so we can override this in subclasses if desired.

string html ()
init (line 121)

Initialize the renderer. This *must* be called before any attempt is made to display or otherwise interact with the renderer.

void init ()

Documentation generated on Sun, 30 Jan 2011 05:08:46 +0000 by phpDocumentor 1.4.3