ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilAdvancedMDFieldDefinitionLocation.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
27
class
ilAdvancedMDFieldDefinitionLocation
extends
ilAdvancedMDFieldDefinition
28
{
29
public
function
getType
():
int
30
{
31
return
self::TYPE_LOCATION;
32
}
33
34
public
function
isFilterSupported
(): bool
35
{
36
return
false
;
37
}
38
39
protected
function
initADTDefinition
():
ilADTDefinition
40
{
41
return
ilADTFactory::getInstance
()->getDefinitionInstanceByType(
"Location"
);
42
}
43
44
public
function
getValueForXML
(
ilADT
$element): string
45
{
46
return
$element->getLatitude() .
"#"
. $element->getLongitude() .
"#"
. $element->getZoom();
47
}
48
49
public
function
importValueFromXML
(
string
$a_cdata): void
50
{
51
$parts
= explode(
"#"
, $a_cdata);
52
if
(count(
$parts
) == 3) {
53
$adt
= $this->
getADT
();
54
$adt
->setLatitude((
float
)
$parts
[0]);
55
$adt
->setLongitude((
float
) $parts[1]);
56
$adt
->setZoom($parts[2]);
57
}
58
}
59
64
public
function
getLuceneSearchString
($a_value): string
65
{
66
// #14777 - currently not supported
67
return
''
;
68
}
69
}
ilAdvancedMDFieldDefinitionLocation
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilAdvancedMDFieldDefinitionLocation.php:27
ilAdvancedMDFieldDefinitionLocation\initADTDefinition
initADTDefinition()
Definition:
class.ilAdvancedMDFieldDefinitionLocation.php:39
$parts
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
Definition:
ltitoken.php:64
ilAdvancedMDFieldDefinition
AMD field abstract base class.
Definition:
class.ilAdvancedMDFieldDefinition.php:30
ilAdvancedMDFieldDefinitionLocation\getType
getType()
Definition:
class.ilAdvancedMDFieldDefinitionLocation.php:29
ilAdvancedMDFieldDefinition\$adt
ilADT $adt
Definition:
class.ilAdvancedMDFieldDefinition.php:53
ilAdvancedMDFieldDefinition\getADT
getADT()
Definition:
class.ilAdvancedMDFieldDefinition.php:368
ilADTFactory\getInstance
static getInstance()
Definition:
class.ilADTFactory.php:14
ilAdvancedMDFieldDefinitionLocation\getLuceneSearchString
getLuceneSearchString($a_value)
Definition:
class.ilAdvancedMDFieldDefinitionLocation.php:64
ilADT
ADT base class.
Definition:
class.ilADT.php:11
ilAdvancedMDFieldDefinitionLocation\getValueForXML
getValueForXML(ilADT $element)
Definition:
class.ilAdvancedMDFieldDefinitionLocation.php:44
ilAdvancedMDFieldDefinitionLocation\importValueFromXML
importValueFromXML(string $a_cdata)
Definition:
class.ilAdvancedMDFieldDefinitionLocation.php:49
ilAdvancedMDFieldDefinitionLocation\isFilterSupported
isFilterSupported()
Definition:
class.ilAdvancedMDFieldDefinitionLocation.php:34
ilADTDefinition
ADT definition base class.
Definition:
class.ilADTDefinition.php:11
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
Services
AdvancedMetaData
classes
Types
class.ilAdvancedMDFieldDefinitionLocation.php
Generated on Fri Apr 4 2025 22:02:08 for ILIAS by
1.8.13 (using
Doxyfile
)