PHP Class Ansel_Tile_Gallery, horde

Author: Michael J Rubinsky ([email protected])
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Methods

Method Description
getTile ( Ansel_Gallery $gallery, Ansel_Style $style = null, boolean $mini = false, array $params = [] ) : Outputs Outputs the html for a gallery tile.

Method Details

getTile() public static method

Outputs the html for a gallery tile.
public static getTile ( Ansel_Gallery $gallery, Ansel_Style $style = null, boolean $mini = false, array $params = [] ) : Outputs
$gallery Ansel_Gallery The Ansel_Gallery we are displaying.
$style Ansel_Style A style object.
$mini boolean Force the use of a mini thumbail?
$params array 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
return Outputs the HTML for the tile.