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