Yioop_V9.5_Source_Code_Documentation

ImagesHelper extends Helper
in package
implements CrawlConstants

Helper used to draw thumbnails strips for images

Tags
author

Chris Pollett

Interfaces, Classes, Traits and Enums

CrawlConstants
Shared constants and enums used by components that are involved in the crawling process

Table of Contents

__construct()  : mixed
The constructor at this point does nothing
render()  : mixed
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.

Methods

__construct()

The constructor at this point does nothing

public __construct() : mixed
Return values
mixed

render()

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.

public render(array<string|int, mixed> $image_pages, string $query, string $subsearch[, bool $image_subsearch = true ][, bool $open_in_tabs = false ]) : mixed
Parameters
$image_pages : array<string|int, mixed>

page data and thumbnails for images

$query : string

the current search query

$subsearch : string

name of subsearch page this image group on

$image_subsearch : bool = true

whether the image subsearch is enabled on this Yioop instance

$open_in_tabs : bool = false

whether new links should be opened in tabs

Return values
mixed

        

Search results