Class Ansel_Widget_OtherGalleries

Description

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.

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

Located in /lib/Widget/OtherGalleries.php (line 12)

Ansel_Widget
   |
   --Ansel_Widget_OtherGalleries
Method Summary
 void attach (Ansel_View $view)
 string html ()
 string _getOtherGalleries ()
Variables
Methods
attach (line 20)

Override the parent class' attach method and set the owner in the title string.

void attach (Ansel_View $view)
  • Ansel_View $view: The view we are attaching to

Redefinition of:
Ansel_Widget::attach()
Attach this widget to the passed in view. Normally called by the Ansel_View once this widget is added.
html (line 38)

Build the HTML for this widget.

  • return: The HTML representing this widget.
string html ()

Redefinition of:
Ansel_Widget::html()
Get the HTML for this widget
_getOtherGalleries (line 61)

Build the HTML for the other galleries widget content.

  • return: The HTML
  • TODO: Allow the sort order and maybe the count of galleries returned to be configurable via the params array.
string _getOtherGalleries ()

Inherited Methods

Inherited From Ansel_Widget

 Ansel_Widget::Ansel_Widget()
 Ansel_Widget::attach()
 Ansel_Widget::factory()
 Ansel_Widget::html()
 Ansel_Widget::isSupported()
 Ansel_Widget::_htmlBegin()
 Ansel_Widget::_htmlEnd()

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