filterDatasource
in package
Manage and give access to lizmap configuration.
Tags
Table of Contents
Properties
- $blockSqlWords : mixed
- $provider : mixed
- $cnx : mixed
- $config : mixed
- $data : mixed
- $datasource : mixed
- $errors : mixed
- $layer : mixed
- $layerId : mixed
- $layername : mixed
- $lproj : mixed
- $project : mixed
- $repository : mixed
- $status : mixed
Methods
- __construct() : mixed
- getErrors() : mixed
- getExtent() : mixed
- getFeatureCount() : mixed
- getMinAndMaxValues() : mixed
- getStatus() : mixed
- getUniqueValues() : mixed
- getData() : jDbResultSet|array<string|int, mixed>
- return data as jDbResultSet or errors as array
- validateFilter() : mixed
Properties
$blockSqlWords
protected
mixed
$blockSqlWords
= array(';', 'select', 'delete', 'insert', 'update', 'drop', 'alter', '--', 'truncate', 'vacuum', 'create')
$provider
protected
mixed
$provider
= 'postgres'
$cnx
private
mixed
$cnx
$config
private
mixed
$config
$data
private
mixed
$data
$datasource
private
mixed
$datasource
$errors
private
mixed
$errors
= array()
$layer
private
mixed
$layer
$layerId
private
mixed
$layerId
$layername
private
mixed
$layername
$lproj
private
mixed
$lproj
$project
private
mixed
$project
$repository
private
mixed
$repository
$status
private
mixed
$status
= \false
Methods
__construct()
public
__construct(mixed $repository, mixed $project, mixed $layerId) : mixed
Parameters
- $repository : mixed
- $project : mixed
- $layerId : mixed
getErrors()
public
getErrors() : mixed
getExtent()
public
getExtent(mixed $crs[, mixed $filter = null ]) : mixed
Parameters
- $crs : mixed
- $filter : mixed = null
getFeatureCount()
public
getFeatureCount([mixed $filter = null ]) : mixed
Parameters
- $filter : mixed = null
getMinAndMaxValues()
public
getMinAndMaxValues(mixed $fieldname[, mixed $filter = null ]) : mixed
Parameters
- $fieldname : mixed
- $filter : mixed = null
getStatus()
public
getStatus() : mixed
getUniqueValues()
public
getUniqueValues(mixed $fieldname[, mixed $filter = null ]) : mixed
Parameters
- $fieldname : mixed
- $filter : mixed = null
getData()
return data as jDbResultSet or errors as array
protected
getData(mixed $sql) : jDbResultSet|array<string|int, mixed>
Parameters
- $sql : mixed
Return values
jDbResultSet|array<string|int, mixed>validateFilter()
private
validateFilter(mixed $filter) : mixed
Parameters
- $filter : mixed