ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
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 Sat Jan 18 2025 19:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)