Lizmap Web Client Master

qgisVectorLayerDatasource
in package

Give access to qgis mapLayer configuration.

Tags
author

3liz

copyright

2013-2019 3liz

see
http://3liz.com
license

Mozilla Public License : http://www.mozilla.org/MPL/

Table of Contents

Properties

$datasource  : mixed
$datasourceRegexes  : array<string|int, mixed>
$provider  : mixed

Methods

__construct()  : mixed
constructor.
getDatasourceParameter()  : mixed
getDatasourceParameterOgr()  : mixed
getDatasourceParameterSql()  : mixed

Properties

$datasourceRegexes

protected array<string|int, mixed> $datasourceRegexes = array('dbname' => "dbname='?([^ ']+)'? ", 'service' => "service='?([^ ']+)'? ", 'host' => "host='?([^ ']+)'? port=", 'port' => 'port=([0-9]+) ', 'user' => "user='?([^ ']+)'? ", 'password' => "password='?([^ ']+)'? ", 'sslmode' => "sslmode='?([^ ']+)'? ", 'key' => "key='?([^ ']+)'? ", 'estimatedmetadata' => 'estimatedmetadata=([^ ]+) ', 'selectatid' => 'selectatid=([^ ]+) ', 'srid' => 'srid=([0-9]+) ', 'type' => 'type=([a-zA-Z]+) ', 'checkPrimaryKeyUnicity' => "checkPrimaryKeyUnicity='([0-1]+)' ", 'table' => 'table="(.+?)"($|\s)', 'geocol' => '\(([^ >]+)\)', 'sql' => ' sql=(.*)$')

Regexes used to get datasource parameters

Methods

__construct()

constructor.

public __construct(mixed $provider, mixed $datasource) : mixed
Parameters
$provider : mixed
$datasource : mixed

        
On this page

Search results