lizmapFts
in package
Table of Contents
Properties
- $sql : mixed
Methods
- getData() : array<int, mixed>
- Method called by the autocomplete input field for taxon search.
- generateSql() : mixed
- getSql() : mixed
- query() : array<string|int, object>
- Get data from database and return an array.
Properties
$sql
protected
mixed
$sql
Methods
getData()
Method called by the autocomplete input field for taxon search.
public
getData(Project $project, string $term[, int $limit = 40 ]) : array<int, mixed>
Parameters
- $project : Project
- $term : string
-
Searched term
- $limit : int = 40
-
default 40
Return values
array<int, mixed> —of matching taxons
generateSql()
protected
generateSql(mixed $project) : mixed
Parameters
- $project : mixed
getSql()
protected
getSql(mixed $project) : mixed
Parameters
- $project : mixed
query()
Get data from database and return an array.
protected
query(string $sql, mixed $filterParams[, null|string $profile = null ]) : array<string|int, object>
Parameters
- $sql : string
-
Query to run
- $filterParams : mixed
- $profile : null|string = null
-
Name of the DB profile
Return values
array<string|int, object> —as an array