search_statistics
in package
Option handler class
Table of Contents
Properties
- $ratingstate : mixed
Methods
- __construct() : jquery_rating
- class instantiation function
- button() : mixed
- getOptionsSupported() : array<string|int, mixed>
- Reports the supported options
- handleOption() : mixed
- handler() : mixed
- Logs User searches
Properties
$ratingstate
public
mixed
$ratingstate
Methods
__construct()
class instantiation function
public
__construct() : jquery_rating
Return values
jquery_ratingbutton()
public
static button(mixed $buttons) : mixed
Parameters
- $buttons : mixed
getOptionsSupported()
Reports the supported options
public
getOptionsSupported() : array<string|int, mixed>
Return values
array<string|int, mixed>handleOption()
public
handleOption(mixed $option, mixed $currentValue) : mixed
Parameters
- $option : mixed
- $currentValue : mixed
handler()
Logs User searches
public
static handler(array<string|int, mixed> $search_statistics, string $type, bool $success, bool $dynamic, int $iteration) : mixed
Parameters
- $search_statistics : array<string|int, mixed>
-
the search criteria
- $type : string
-
'album', 'image', etc.
- $success : bool
-
did the search return a result
- $dynamic : bool
-
was it from a dynamic album
- $iteration : int
-
count of the filters since the search engine instantiation