Lizmap Web Client Master

DateTimeConfig extends BaseQgisObject
in package

QGIS Vector layer edit widget DateTime config <editWidget type="DateTime"> <config> <Option type="Map"> <Option value="false" type="bool" name="allow_null"/> <Option value="false" type="bool" name="calendar_popup"/> <Option value="" type="QString" name="display_format"/> <Option value="yyyy-MM-dd" type="QString" name="field_format"/> <Option value="false" type="bool" name="field_iso_format"/> </Option> </config> </editWidget>.

Table of Contents

Properties

$allow_null  : bool
$calendar_popup  : bool
$display_format  : string
$field_format  : string
$field_iso_format  : 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

$defaultValues

protected array<string|int, mixed> $defaultValues = array('allow_null' => false, 'calendar_popup' => false, 'display_format' => '', 'field_format' => 'yyyy-MM-dd', 'field_iso_format' => false)

The default values

$mandatoryProperties

protected array<string|int, string> $mandatoryProperties = array()

The not null properties

$properties

protected array<string|int, string> $properties = array('allow_null', 'calendar_popup', 'display_format', 'field_format', 'field_iso_format')

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>

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>

        
On this page

Search results