ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilADTInternalLinkDBBridge.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
6
12
class
ilADTInternalLinkDBBridge
extends
ilADTDBBridge
13
{
19
protected
function
isValidADT
(
ilADT
$a_adt): bool
20
{
21
return
$a_adt instanceof
ilADTInternalLink
;
22
}
23
28
public
function
readRecord
(array $a_row): void
29
{
30
$this->
getADT
()->setTargetRefId((
int
) $a_row[$this->
getElementId
()]);
31
}
32
37
public
function
prepareInsert
(array &$a_fields): void
38
{
39
$a_fields[$this->
getElementId
()] = [
"integer"
, $this->
getADT
()->getTargetRefId()];
40
}
41
}
ilADTInternalLinkDBBridge\readRecord
readRecord(array $a_row)
read record
Definition:
class.ilADTInternalLinkDBBridge.php:28
ilADTDBBridge\getElementId
getElementId()
Get element id.
Definition:
class.ilADTDBBridge.php:70
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:19
ilADTInternalLinkDBBridge
Abstract internal link db bridge.
Definition:
class.ilADTInternalLinkDBBridge.php:12
ilADTDBBridge\getADT
getADT()
Definition:
class.ilADTDBBridge.php:42
ilADTInternalLinkDBBridge\prepareInsert
prepareInsert(array &$a_fields)
prepare insert
Definition:
class.ilADTInternalLinkDBBridge.php:37
ilADTInternalLink
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilADTInternalLink.php:21
Services
ADT
classes
Types
InternalLink
class.ilADTInternalLinkDBBridge.php
Generated on Wed Sep 3 2025 22:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)