Overview

Packages

  • Ansel
  • None

Classes

  • Ansel
  • Ansel_Ajax_Application
  • Ansel_Ajax_Imple_EditCaption
  • Ansel_Ajax_Imple_EditFaces
  • Ansel_Ajax_Imple_EditGalleryFaces
  • Ansel_Ajax_Imple_Embed
  • Ansel_Ajax_Imple_GallerySlugCheck
  • Ansel_Ajax_Imple_ImageSaveGeotag
  • Ansel_Ajax_Imple_LocationAutoCompleter
  • Ansel_Ajax_Imple_MapLayerSelect
  • Ansel_Ajax_Imple_TagActions
  • Ansel_Ajax_Imple_ToggleGalleryActions
  • Ansel_Ajax_Imple_ToggleOtherGalleries
  • Ansel_Ajax_Imple_UploadNotification
  • Ansel_Api
  • Ansel_Exception
  • Ansel_Faces
  • Ansel_Faces_Base
  • Ansel_Faces_Facedetect
  • Ansel_Faces_User
  • Ansel_Factory_Faces
  • Ansel_Factory_Storage
  • Ansel_Factory_Styles
  • Ansel_Form_Ecard
  • Ansel_Form_Image
  • Ansel_Form_ImageDate
  • Ansel_Form_Upload
  • Ansel_Gallery
  • Ansel_Gallery_Decorator_Date
  • Ansel_GalleryMode_Base
  • Ansel_GalleryMode_Date
  • Ansel_GalleryMode_Normal
  • Ansel_Image
  • Ansel_ImageGenerator
  • Ansel_ImageGenerator_Mini
  • Ansel_ImageGenerator_PolaroidThumb
  • Ansel_ImageGenerator_PolaroidThumbStack
  • Ansel_ImageGenerator_RoundedThumb
  • Ansel_ImageGenerator_RoundedThumbStack
  • Ansel_ImageGenerator_Screen
  • Ansel_ImageGenerator_ShadowThumb
  • Ansel_ImageGenerator_ShadowThumbStack
  • Ansel_ImageGenerator_SquareThumb
  • Ansel_ImageGenerator_Thumb
  • Ansel_LoginTasks_SystemTask_Upgrade
  • Ansel_Report
  • Ansel_Report_letter
  • Ansel_Report_mail
  • Ansel_Report_tickets
  • Ansel_Search
  • Ansel_Search_exif
  • Ansel_Search_Tag
  • Ansel_Storage
  • Ansel_Style
  • Ansel_Tagger
  • Ansel_Test
  • Ansel_Tile_DateGallery
  • Ansel_Tile_Gallery
  • Ansel_Tile_Image
  • Ansel_View_Ansel
  • Ansel_View_Base
  • Ansel_View_EmbeddedRenderer_GalleryLink
  • Ansel_View_EmbeddedRenderer_Mini
  • Ansel_View_EmbeddedRenderer_Slideshow
  • Ansel_View_Gallery
  • Ansel_View_GalleryProperties
  • Ansel_View_GalleryRenderer_Base
  • Ansel_View_GalleryRenderer_Gallery
  • Ansel_View_GalleryRenderer_GalleryLightbox
  • Ansel_View_Image
  • Ansel_View_List
  • Ansel_View_Results
  • Ansel_View_Slideshow
  • Ansel_View_Upload
  • Ansel_Widget
  • Ansel_Widget_Actions
  • Ansel_Widget_Base
  • Ansel_Widget_GalleryFaces
  • Ansel_Widget_Geotag
  • Ansel_Widget_ImageFaces
  • Ansel_Widget_Links
  • Ansel_Widget_OtherGalleries
  • Ansel_Widget_OwnerFaces
  • Ansel_Widget_SimilarPhotos
  • Ansel_Widget_Tags
  • Ansel_XPPublisher
  • Overview
  • Package
  • Class
  • Tree

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_GalleryLightbox
Abstract
Package: Ansel
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at View/GalleryRenderer/Base.php
Methods summary
public
# __construct( Ansel_View_Gallery $view )

Constructor

Constructor

Parameters

$view
view object for this renderer.
public
# init( )

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

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

Todo:

Not sure why I didn't put this in the const'r - try moving it.
public
# fetchChildren( mixed $noauto )

Default implementation for fetching children/images for this view. Other view classes can override this if they need anything special.

Default implementation for fetching children/images for this view. Other view classes can override this if they need anything special.

public
# getChildImageIds( )
abstract public string
# html( )

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

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

Returns

string
Properties summary
public Ansel_View_Gallery $view

The Ansel_View_Gallery object that this Renderer belongs to.

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)

The gallery id for this view's gallery (Convenience instead of $this->view->gallery->id)

#
public string $gallerySlug

Gallery slug for current gallery.

Gallery slug for current gallery.

#
public integer $page

The current page we are viewing

The current page we are viewing

# 0
public integer $mode

The display mode of the current gallery. 0 == Normal 1 == Group by date

The display mode of the current gallery. 0 == Normal 1 == Group by date

#
public Ansel_Style $style

The style definition.

The style definition.

#
public integer $perpage

Holds number of tiles to display per page

Holds number of tiles to display per page

#
public integer $pagestart

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

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

#
public integer $pageend

The last tile number on the current page.

The last tile number on the current page.

#
public integer $numTiles

The total number of tiles that this view contains

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.

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.

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

# array()
public string $title

Human readable title for this view type

Human readable title for this view type

#
API documentation generated by ApiGen