ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct (ilADT $a_adt) | |
getTable () | |
setFakeSingle ($a_status) | |
readRecord (array $a_row) | |
afterInsert () | |
afterUpdate () | |
prepareInsert (array &$a_fields) | |
supportsDefaultValueColumn () | |
![]() | |
__construct (ilADT $a_adt) | |
Constructor. More... | |
getADT () | |
Get ADT. More... | |
setTable ($a_table) | |
Set table name. More... | |
getTable () | |
Get table name. More... | |
setElementId ($a_value) | |
Set element id (aka DB column[s] [prefix]) More... | |
getElementId () | |
Get element id. More... | |
setPrimary (array $a_value) | |
Set primary fields (in MDB2 format) More... | |
getPrimary () | |
Get primary fields. More... | |
buildPrimaryWhere () | |
Convert primary keys array to sql string. More... | |
readRecord (array $a_row) | |
Import DB values to ADT. More... | |
prepareInsert (array &$a_fields) | |
Prepare ADT values for insert. More... | |
afterInsert () | |
After insert hook to enable sub-tables. More... | |
prepareUpdate (array &$a_fields) | |
Prepare ADT values for update. More... | |
afterUpdate () | |
After update hook to enable sub-tables. More... | |
afterDelete () | |
After delete hook to enable sub-tables. More... | |
supportsDefaultValueColumn () | |
true if table storage relies on the default 'value' column More... | |
Data Fields | |
const | TABLE_NAME = 'adv_md_values_enum' |
const | SEPARATOR = "~|~" |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
doSingleFake () | |
deleteIndices () | |
insertIndices () | |
![]() | |
isValidADT (ilADT $a_adt) | |
Check if given ADT is valid. More... | |
setADT (ilADT $a_adt) | |
Set ADT. More... | |
Protected Attributes | |
$db | |
$fake_single | |
![]() | |
$adt | |
$table | |
$id | |
$primary = [] | |
Definition at line 5 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::__construct | ( | ilADT | $a_adt | ) |
Definition at line 18 of file class.ilADTMultiEnumDBBridge.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
ilADTMultiEnumDBBridge::afterInsert | ( | ) |
Definition at line 53 of file class.ilADTMultiEnumDBBridge.php.
References afterUpdate().
ilADTMultiEnumDBBridge::afterUpdate | ( | ) |
Definition at line 58 of file class.ilADTMultiEnumDBBridge.php.
References deleteIndices(), and insertIndices().
Referenced by afterInsert().
|
protected |
Definition at line 69 of file class.ilADTMultiEnumDBBridge.php.
References ilADTDBBridge\buildPrimaryWhere(), and getTable().
Referenced by afterUpdate().
|
protected |
ilADTMultiEnumDBBridge::getTable | ( | ) |
Definition at line 26 of file class.ilADTMultiEnumDBBridge.php.
Referenced by deleteIndices(), and insertIndices().
|
protected |
Definition at line 77 of file class.ilADTMultiEnumDBBridge.php.
References $index, ilADTDBBridge\getADT(), ilLoggerFactory\getLogger(), ilADTDBBridge\getPrimary(), getTable(), and ilDBConstants\T_INTEGER.
Referenced by afterUpdate().
|
protected |
Definition at line 31 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::prepareInsert | ( | array & | $a_fields | ) |
Definition at line 64 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::readRecord | ( | array | $a_row | ) |
Definition at line 46 of file class.ilADTMultiEnumDBBridge.php.
References ilADTDBBridge\getADT(), and ilADTDBBridge\getElementId().
ilADTMultiEnumDBBridge::setFakeSingle | ( | $a_status | ) |
Definition at line 36 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::supportsDefaultValueColumn | ( | ) |
Definition at line 88 of file class.ilADTMultiEnumDBBridge.php.
|
protected |
Definition at line 12 of file class.ilADTMultiEnumDBBridge.php.
|
protected |
Definition at line 14 of file class.ilADTMultiEnumDBBridge.php.
Referenced by doSingleFake().
const ilADTMultiEnumDBBridge::SEPARATOR = "~|~" |
Definition at line 16 of file class.ilADTMultiEnumDBBridge.php.
const ilADTMultiEnumDBBridge::TABLE_NAME = 'adv_md_values_enum' |
Definition at line 7 of file class.ilADTMultiEnumDBBridge.php.