ProjectVisibilityPreset
extends BaseQgisObject
in package
QGIS Project Visibility preset class.
Table of Contents
Properties
- $checkedGroupNodes : array<string|int, string>
- $expandedGroupNodes : array<string|int, string>
- $layers : array<string|int, ProjectVisibilityPresetLayer>
- $name : string
- $defaultValues : array<string|int, mixed>
- $mandatoryProperties : array<string|int, string>
- $properties : array<string|int, string>
- $qgisLocalName : string
- $data : array<string|int, mixed>
Methods
- __construct() : mixed
- Base QGIS object constructor.
- __get() : mixed
- __isset() : bool
- __set() : void
- __unset() : void
- fromXmlReader() : mixed
- getData() : array<string|int, mixed>
- jsonSerialize() : mixed
- toKeyArray() : array<string|int, mixed>
- Get visibility preset as key array.
- arrayToData() : array<string|int, mixed>
- set() : void
Properties
$checkedGroupNodes
public
array<string|int, string>
$checkedGroupNodes
$expandedGroupNodes
public
array<string|int, string>
$expandedGroupNodes
$layers
public
array<string|int, ProjectVisibilityPresetLayer>
$layers
$name
public
string
$name
$defaultValues
protected
array<string|int, mixed>
$defaultValues
= array()
The default values for properties
$mandatoryProperties
protected
array<string|int, string>
$mandatoryProperties
= array('name', 'layers')
The not null properties
$properties
protected
array<string|int, string>
$properties
= array('name', 'layers', 'checkedGroupNodes', 'expandedGroupNodes')
The instance properties
$qgisLocalName
protected
static string
$qgisLocalName
= 'visibility-preset'
The XML element local name
$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
fromXmlReader()
public
static fromXmlReader(mixed $oXmlReader) : mixed
Parameters
- $oXmlReader : mixed
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>jsonSerialize()
public
jsonSerialize() : mixed
toKeyArray()
Get visibility preset as key array.
public
toKeyArray() : array<string|int, mixed>
Return values
array<string|int, 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>