Lizmap Web Client 3.11.0

datatablesCtrl extends jController
in package

Table of Contents

Properties

$bbox  : array<string|int, mixed>
$DTColumns  : mixed
$DTLength  : null|string
$DTOrder  : mixed
$DTSearchBuilder  : null|array<string|int, mixed>
$DTStart  : null|string
$expFilter  : null|string
$filteredFeatureIDs  : array<string|int, mixed>
$layerId  : null|string
$project  : null|string
$repository  : null|string
$srsName  : null|string

Methods

filteredFeaturesExtent()  : jResponseJson
Gets features via WFS and calculates the total extent.
index()  : mixed
selectFilteredFeatures()  : jResponseBinary|jResponseJson
Returns all features corresponding to the searching parameters, ignoring pagination.
setErrorResponse()  : jResponseJson
Sets the error in the provided response object based on the given HTTP error code.
getExpFilter()  : null|string
Return expression filter parameter.
initClassProperties()  : mixed
Assign values to class instance property.

Properties

$DTSearchBuilder

private null|array<string|int, mixed> $DTSearchBuilder

Array of search builder condition criteria

$filteredFeatureIDs

private array<string|int, mixed> $filteredFeatureIDs

Array of filtered features ids

Methods

filteredFeaturesExtent()

Gets features via WFS and calculates the total extent.

public filteredFeaturesExtent() : jResponseJson

It basically use the same logic of the main endpoint but ignores pagination to get all filtered features.

Return values
jResponseJson

selectFilteredFeatures()

Returns all features corresponding to the searching parameters, ignoring pagination.

public selectFilteredFeatures() : jResponseBinary|jResponseJson
Return values
jResponseBinary|jResponseJson

setErrorResponse()

Sets the error in the provided response object based on the given HTTP error code.

protected setErrorResponse(jResponseJson $rep, int $code, string $errorMessage) : jResponseJson
Parameters
$rep : jResponseJson
  • the response object to which the error details will be assigned
$code : int
  • the HTTP error code
$errorMessage : string
  • the custom error message
Return values
jResponseJson

returns the updated response object containing the error details

getExpFilter()

Return expression filter parameter.

private getExpFilter() : null|string
Return values
null|string

initClassProperties()

Assign values to class instance property.

private initClassProperties() : mixed

        
On this page

Search results