ValueRelationConfig
extends BaseQgisObject
in package
QGIS Vector layer edit widget ValueRelation config <editWidget type="ValueRelation"> <config> <Option type="Map"> <Option value="0" type="QString" name="AllowMulti"/> <Option value="1" type="QString" name="AllowNull"/> <Option value="" type="QString" name="FilterExpression"/> <Option value="osm_id" type="QString" name="Key"/> <Option value="tramway20150328114206278" type="QString" name="Layer"/> <Option value="1" type="QString" name="OrderByValue"/> <Option value="0" type="QString" name="UseCompleter"/> <Option value="test" type="QString" name="Value"/> </Option> </config> </editWidget>.
Table of Contents
Properties
- $AllowMulti : bool
- $AllowNull : bool
- $Description : string
- $FilterExpression : string
- $Key : string
- $Layer : string
- $LayerName : string
- $LayerProviderName : string
- $LayerSource : string
- $NofColumns : string
- $OrderByValue : bool
- $UseCompleter : bool
- $Value : string
- $defaultValues : array<string|int, mixed>
- $mandatoryProperties : array<string|int, string>
- $properties : array<string|int, string>
- $data : array<string|int, mixed>
Methods
- __construct() : mixed
- Base QGIS object constructor.
- __get() : mixed
- __isset() : bool
- __set() : void
- __unset() : void
- getData() : array<string|int, mixed>
- jsonSerialize() : mixed
- arrayToData() : array<string|int, mixed>
- set() : void
Properties
$AllowMulti
public
bool
$AllowMulti
$AllowNull
public
bool
$AllowNull
$Description
public
string
$Description
$FilterExpression
public
string
$FilterExpression
$Key
public
string
$Key
$Layer
public
string
$Layer
$LayerName
public
string
$LayerName
$LayerProviderName
public
string
$LayerProviderName
$LayerSource
public
string
$LayerSource
$NofColumns
public
string
$NofColumns
$OrderByValue
public
bool
$OrderByValue
$UseCompleter
public
bool
$UseCompleter
$Value
public
string
$Value
$defaultValues
protected
array<string|int, mixed>
$defaultValues
= array()
The default values for properties
$mandatoryProperties
protected
array<string|int, string>
$mandatoryProperties
= array()
The not null properties
$properties
protected
array<string|int, string>
$properties
= array('Layer', 'LayerName', 'LayerSource', 'LayerProviderName', 'Key', 'Value', 'Description', 'AllowMulti', 'NofColumns', 'AllowNull', 'OrderByValue', 'FilterExpression', 'UseCompleter')
The instance properties
$data
private
array<string|int, mixed>
$data
= array()
The instance data for properties
Methods
__construct()
Base QGIS object constructor.
public
__construct(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
the instance data
__get()
public
__get(mixed $property) : mixed
Parameters
- $property : mixed
__isset()
public
__isset(mixed $property) : bool
Parameters
- $property : mixed
Return values
bool__set()
public
final __set(string $key, mixed $val) : void
Parameters
- $key : string
- $val : mixed
__unset()
public
final __unset(string $key) : void
Parameters
- $key : string
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>jsonSerialize()
public
jsonSerialize() : mixed
arrayToData()
protected
arrayToData(mixed $vArray) : array<string|int, mixed>
Parameters
- $vArray : mixed
Return values
array<string|int, mixed>set()
protected
set(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>