\Ansel_Tile_Gallery

Ansel_Tile_Gallery:: class wraps display of thumbnail 'tiles' displayed for a gallery on the Ansel_View_Gallery view.

Summary

Methods
Properties
Constants
getTile()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getTile()

getTile(\Ansel_Gallery  $gallery, \Ansel_Style  $style = null, boolean  $mini = false, array  $params = array()) : \Outputs

Outputs the html for a gallery tile.

Parameters

\Ansel_Gallery $gallery

The Ansel_Gallery we are displaying.

\Ansel_Style $style

A style object.

boolean $mini

Force the use of a mini thumbail?

array $params

An array containing additional parameters. Currently, gallery_view_url and image_view_url are used to override the respective urls. %g and %i are replaced with image id and gallery id, respectively

Returns

\Outputs —

the HTML for the tile.