Ansel_WidgetAnsel_Widget:: class wraps the display of widgets to be displayed in various Ansel_Views.
$Horde: ansel/lib/Widget.php,v 1.7.2.3 2009/06/19 22:45: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/Widget.php (line 16)
| Class | Description |
|---|---|
Ansel_Widget_Actions
|
Ansel_Widget_Actions:: class to wrap the display of gallery actions |
Ansel_Widget_GalleryFaces
|
Horde_Widget_GalleryFaces:: class to display a widget containing mini thumbnails of faces in the gallery. |
Ansel_Widget_Geodata
|
Ansel_Widget_Geodata:: class to wrap the display of a Google map showing images with geolocation data. |
Ansel_Widget_ImageFaces
|
Horde_Widget_ImageFaces:: class to display a widget containing mini thumbnails of faces in the image. |
Ansel_Widget_Links
|
Ansel_Widget_links:: class to wrap the display of various feed links etc... |
Ansel_Widget_OtherGalleries
|
Ansel_Widget_OtherGalleries:: class to display a widget containing mini thumbnails and links to other galleries owned by the same user as the currently viewed image/gallery. |
Ansel_Widget_OwnerFaces
|
Ansel_Widget_OwnerFaces:: class to display a widget containing mini thumbnails of faces that have been tagged by the gallery owner. |
Ansel_Widget_SimilarPhotos
|
Horde_Widget_SimilarPhotos:: class to display a widget containing mini thumbnails of images that are similar, based on tags. |
Ansel_Widget_Tags
|
Ansel_Widget_Tags:: class to display a tags widget in the image and gallery views. |
array
$_params
= array() (line 23)
Any parameters this widget will need..
string
$_render
= 'auto' (line 53)
Determine if this widget will be automatically rendered, or if it is the calling code's responsibility to render it.
array
$_style
(line 38)
Holds the style definition for the gallery this view is for (or the image's parent gallery if this is for an image view).
string
$_title
(line 45)
Title for this widget.
Ansel_View
$_view
(line 30)
Reference to the Ansel_View we are attaching to
Constructor Ansel_Widget (line 84)
Constructor
attach (line 98)
Attach this widget to the passed in view. Normally called by the Ansel_View once this widget is added.
factory (line 63)
Factory method for creating Ansel_Widgets
html (line 116)
Get the HTML for this widget
isSupported (line 152)
Determine if a particular view (Image, Gallery etc..) is supported by this widget.
_htmlBegin (line 125)
Default HTML for the beginning of the widget.
_htmlEnd (line 137)
Default HTML for the end of the widget.
Documentation generated on Sun, 30 Jan 2011 05:08:50 +0000 by phpDocumentor 1.4.3