featuresCtrl
extends jController
in package
Get features from QGIS Server with the help of expressions.
Tags
Table of Contents
Methods
- displayExpression() : jResponseJson
- Get display expressions evaluated for the given layer and parameters.
- tooltips() : jResponseJson
- Get all tooltips of a given layer.
- regexCheck() : string
- Check if the expression is valid.
Methods
displayExpression()
Get display expressions evaluated for the given layer and parameters.
public
displayExpression() : jResponseJson
Tags
Return values
jResponseJson —geoJSON content
tooltips()
Get all tooltips of a given layer.
public
tooltips() : jResponseJson
Tags
Return values
jResponseJson —geoJSON content
regexCheck()
Check if the expression is valid.
private
regexCheck(mixed $expression) : string
Parameters
- $expression : mixed
-
string The expression to check
Return values
string —The expression if it is valid, 'INVALID EXPRESSION' otherwise