ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilADTInternalLinkDBBridge.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
ilADTInternalLinkDBBridge
extends
ilADTDBBridge
12
{
18
protected
function
isValidADT
(
ilADT
$a_adt)
19
{
20
return
$a_adt instanceof
ilADTInternalLink
;
21
}
22
27
public
function
readRecord
(array $a_row)
28
{
29
$this->
getADT
()->setTargetRefId($a_row[$this->
getElementId
()]);
30
}
31
36
public
function
prepareInsert
(array &$a_fields)
37
{
38
$a_fields[$this->
getElementId
()] = [
"integer"
,$this->
getADT
()->getTargetRefId()];
39
}
40
}
ilADTInternalLinkDBBridge\readRecord
readRecord(array $a_row)
read record
Definition:
class.ilADTInternalLinkDBBridge.php:27
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
ilADTInternalLinkDBBridge\isValidADT
isValidADT(ilADT $a_adt)
check valid type
Definition:
class.ilADTInternalLinkDBBridge.php:18
ilADTInternalLinkDBBridge
Abstract internal link db bridge.
Definition:
class.ilADTInternalLinkDBBridge.php:11
php
ilADTDBBridge\getADT
getADT()
Get ADT.
Definition:
class.ilADTDBBridge.php:63
ilADTInternalLinkDBBridge\prepareInsert
prepareInsert(array &$a_fields)
prepare insert
Definition:
class.ilADTInternalLinkDBBridge.php:36
ilADTInternalLink
Definition:
class.ilADTInternalLink.php:3
Services
ADT
classes
Types
InternalLink
class.ilADTInternalLinkDBBridge.php
Generated on Thu Jan 30 2025 19:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)