ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilADTFloatDBBridge.php
Go to the documentation of this file.
1
<?
php
2
3
require_once
"Services/ADT/classes/Bridges/class.ilADTDBBridge.php"
;
4
5
class
ilADTFloatDBBridge
extends
ilADTDBBridge
6
{
7
protected
function
isValidADT
(
ilADT
$a_adt)
8
{
9
return
($a_adt instanceof
ilADTFloat
);
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
(
"float"
, $this->
getADT
()->getNumber());
23
}
24
}
25
26
?>
ilADTFloatDBBridge\prepareInsert
prepareInsert(array &$a_fields)
Definition:
class.ilADTFloatDBBridge.php:20
ilADTDBBridge\getElementId
getElementId()
Get element id.
Definition:
class.ilADTDBBridge.php:104
ilADT
ADT base class.
Definition:
class.ilADT.php:11
ilADTDBBridge
ADT DB bridge base class.
Definition:
class.ilADTDBBridge.php:11
ilADTFloatDBBridge\readRecord
readRecord(array $a_row)
Definition:
class.ilADTFloatDBBridge.php:15
ilADTFloatDBBridge\isValidADT
isValidADT(ilADT $a_adt)
Definition:
class.ilADTFloatDBBridge.php:7
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilADTFloatDBBridge
Definition:
class.ilADTFloatDBBridge.php:5
php
ilADTDBBridge\getADT
getADT()
Get ADT.
Definition:
class.ilADTDBBridge.php:64
ilADTFloat
Definition:
class.ilADTFloat.php:5
Services
ADT
classes
Types
Float
class.ilADTFloatDBBridge.php
Generated on Fri Jan 17 2025 19:01:07 for ILIAS by
1.8.13 (using
Doxyfile
)