ExternalResourceConfig
extends BaseQgisObject
in package
QGIS Vector layer edit widget ExternalResource config <editWidget type="ExternalResource"> <config> <Option type="Map"> <Option value="1" type="QString" name="DocumentViewer"/> <Option value="400" type="QString" name="DocumentViewerHeight"/> <Option value="400" type="QString" name="DocumentViewerWidth"/> <Option value="1" type="QString" name="FileWidget"/> <Option value="1" type="QString" name="FileWidgetButton"/> <Option value="Images (*.gif *.jpeg *.jpg *.png)" type="QString" name="FileWidgetFilter"/> <Option value="0" type="QString" name="StorageMode"/> </Option> </config> </editWidget>.
Table of Contents
Properties
- $DocumentViewer : int
- $DocumentViewerHeight : int
- $DocumentViewerWidth : int
- $FileWidget : bool
- $FileWidgetButton : bool
- $FileWidgetFilter : string
- $FullUrl : bool
- $PropertyCollection : array<string|int, mixed>
- $RelativeStorage : int
- $StorageAuthConfigId : string
- $StorageMode : int
- $StorageType : string
- $UseLink : bool
- $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
$DocumentViewer
public
int
$DocumentViewer
$DocumentViewerHeight
public
int
$DocumentViewerHeight
$DocumentViewerWidth
public
int
$DocumentViewerWidth
$FileWidget
public
bool
$FileWidget
$FileWidgetButton
public
bool
$FileWidgetButton
$FileWidgetFilter
public
string
$FileWidgetFilter
$FullUrl
public
bool
$FullUrl
$PropertyCollection
public
array<string|int, mixed>
$PropertyCollection
$RelativeStorage
public
int
$RelativeStorage
$StorageAuthConfigId
public
string
$StorageAuthConfigId
$StorageMode
public
int
$StorageMode
$StorageType
public
string
$StorageType
$UseLink
public
bool
$UseLink
$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('DocumentViewer', 'DocumentViewerHeight', 'DocumentViewerWidth', 'FileWidget', 'FileWidgetButton', 'FileWidgetFilter', 'UseLink', 'FullUrl', 'PropertyCollection', 'RelativeStorage', 'StorageAuthConfigId', 'StorageMode', 'StorageType')
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>