ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilADTExternalLinkDBBridge.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11
class
ilADTExternalLinkDBBridge
extends
ilADTDBBridge
12
{
18
protected
function
isValidADT
(
ilADT
$a_adt)
19
{
20
return
$a_adt instanceof
ilADTExternalLink
;
21
}
22
27
public
function
readRecord
(array $a_row)
28
{
29
$this->
getADT
()->setUrl($a_row[$this->
getElementId
() .
'_value'
]);
30
$this->
getADT
()->setTitle($a_row[$this->
getElementId
() .
'_title'
]);
31
}
32
37
public
function
prepareInsert
(array &$a_fields)
38
{
39
$a_fields[$this->
getElementId
() .
'_value'
] = [
"text"
,$this->
getADT
()->getUrl()];
40
$a_fields[$this->
getElementId
() .
'_title'
] = [
'text'
,$this->
getADT
()->getTitle()];
41
}
42
}
ilADTExternalLinkDBBridge\prepareInsert
prepareInsert(array &$a_fields)
prepare insert
Definition:
class.ilADTExternalLinkDBBridge.php:37
ilADTDBBridge\getElementId
getElementId()
Get element id.
Definition:
class.ilADTDBBridge.php:103
ilADT
ADT base class.
Definition:
class.ilADT.php:11
ilADTDBBridge
ADT DB bridge base class.
Definition:
class.ilADTDBBridge.php:11
ilADTExternalLinkDBBridge\readRecord
readRecord(array $a_row)
read record
Definition:
class.ilADTExternalLinkDBBridge.php:27
ilADTExternalLinkDBBridge
Abstract external link db bridge.
Definition:
class.ilADTExternalLinkDBBridge.php:11
ilADTExternalLinkDBBridge\isValidADT
isValidADT(ilADT $a_adt)
check valid type
Definition:
class.ilADTExternalLinkDBBridge.php:18
ilADTDBBridge\getADT
getADT()
Get ADT.
Definition:
class.ilADTDBBridge.php:63
ilADTExternalLink
Definition:
class.ilADTExternalLink.php:3
Services
ADT
classes
Types
ExternalLink
class.ilADTExternalLinkDBBridge.php
Generated on Fri Apr 4 2025 20:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)