\seekquarry\yioop\views\helpersImagesHelper

Helper used to draw thumbnails strips for images

Helpers are classes used to reduce the coding required in Views. They do some computation with the data they are supplied and output HTML/XML

Summary

Methods
Properties
Constants
__construct()
render()
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

__construct()

__construct() 

The constructor at this point does nothing

render()

render(array  $image_pages, string  $query, string  $subsearch, boolean  $image_subsearch = true) 

Takes page summaries for image pages and the current query and draw a thumbnail strip so that clicking on an image goes to the cache of that image.

Parameters

array $image_pages

page data and thumbnails for images

string $query

the current search query

string $subsearch

name of subsearch page this image group on

boolean $image_subsearch

whether the image subsearch is enabled on this Yioop instance