Lizmap Web Client 3.10.0

lizmapFts
in package

Table of Contents

Methods

getData()  : array<int, mixed>
Method called by the autocomplete input field for place search.
generateSql()  : string
Generate the SQL for lizmap_search according to the given project.

Methods

getData()

Method called by the autocomplete input field for place search.

public static getData(Project $project, string $term, bool $debug[, int $limit = 40 ]) : array<int, mixed>
Parameters
$project : Project
$term : string

Searched term

$debug : bool

If the debug mode is ON

$limit : int = 40

default 40

Return values
array<int, mixed>

of matching places

generateSql()

Generate the SQL for lizmap_search according to the given project.

protected static generateSql(Project $project) : string
Parameters
$project : Project

The QGIS project

Return values
string

The SQL query


        
On this page

Search results