Class Ansel_View_GalleryRenderer_Base
Ansel_View_GalleryRenderer:: Base class for all gallery renderers.
Copyright 2008-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Direct known subclasses
Ansel_View_GalleryRenderer_Gallery, Ansel_View_GalleryRenderer_GalleryLightboxPackage: Ansel
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at View/GalleryRenderer/Base.php
public
|
|
public
|
|
public
|
#
fetchChildren( mixed $noauto )
Default implementation for fetching children/images for this view. Other view classes can override this if they need anything special. |
public
|
|
abstract public
string
|
public
|
$view
The Ansel_View_Gallery object that this Renderer belongs to. |
|
public
integer
|
$galleryId
The gallery id for this view's gallery (Convenience instead of $this->view->gallery->id) |
|
public
string
|
$gallerySlug
Gallery slug for current gallery. |
|
public
integer
|
$page
The current page we are viewing |
#
0
|
public
integer
|
$mode
The display mode of the current gallery. 0 == Normal 1 == Group by date |
|
public
|
$style
The style definition. |
|
public
integer
|
$perpage
Holds number of tiles to display per page |
|
public
integer
|
$pagestart
The tile number we are starting with on the current page. |
|
public
integer
|
$pageend
The last tile number on the current page. |
|
public
integer
|
$numTiles
The total number of tiles that this view contains |
|
public
array
|
$children
The Ansel_Image or Ansel_DateGallery objects that appear on the current page in the current view. |
|
public
array
|
$date
If we are grouping by date, this holds the currently selected date parts. |
#
array()
|
public
string
|
$title
Human readable title for this view type |