ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilADTIntegerDBBridge.php
Go to the documentation of this file.
1
<?php
2
3
require_once
"Services/ADT/classes/Bridges/class.ilADTDBBridge.php"
;
4
5
class
ilADTIntegerDBBridge
extends
ilADTDBBridge
6
{
7
protected
function
isValidADT
(
ilADT
$a_adt)
8
{
9
return
($a_adt instanceof
ilADTInteger
);
10
}
11
12
13
// CRUD
14
15
public
function
readRecord
(
array
$a_row)
16
{
17
$this->
getADT
()->setNumber($a_row[$this->
getElementId
()]);
18
}
19
20
public
function
prepareInsert
(
array
&$a_fields)
21
{
22
$a_fields[$this->
getElementId
()] =
array
(
"integer"
, $this->
getADT
()->getNumber());
23
}
24
}
ilADTInteger
Definition:
class.ilADTInteger.php:3
ilADTDBBridge\getElementId
getElementId()
Get element id.
Definition:
class.ilADTDBBridge.php:103
ilADT
ADT base class.
Definition:
class.ilADT.php:11
ilADTIntegerDBBridge\isValidADT
isValidADT(ilADT $a_adt)
Definition:
class.ilADTIntegerDBBridge.php:7
ilADTIntegerDBBridge
Definition:
class.ilADTIntegerDBBridge.php:5
ilADTDBBridge
ADT DB bridge base class.
Definition:
class.ilADTDBBridge.php:11
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilADTDBBridge\getADT
getADT()
Get ADT.
Definition:
class.ilADTDBBridge.php:63
ilADTIntegerDBBridge\prepareInsert
prepareInsert(array &$a_fields)
Definition:
class.ilADTIntegerDBBridge.php:20
ilADTIntegerDBBridge\readRecord
readRecord(array $a_row)
Definition:
class.ilADTIntegerDBBridge.php:15
Services
ADT
classes
Types
Integer
class.ilADTIntegerDBBridge.php
Generated on Sat Jan 18 2025 19:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)