ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
getTable () | |
setFakeSingle (bool $a_status) | |
readRecord (array $a_row) | |
afterInsert () | |
afterUpdate () | |
prepareInsert (array &$a_fields) | |
supportsDefaultValueColumn () | |
![]() | |
__construct (ilADT $a_adt) | |
Constructor. More... | |
getADT () | |
setTable (string $a_table) | |
getTable () | |
setElementId (string $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... | |
getAdditionalPrimaryFields () | |
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) | |
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) | |
setADT (ilADT $a_adt) | |
Protected Attributes | |
bool | $fake_single = false |
![]() | |
ilADT | $adt |
string | $table |
string | $id |
array | $primary = [] |
ilDBInterface | $db |
Definition at line 5 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::afterInsert | ( | ) |
Definition at line 39 of file class.ilADTMultiEnumDBBridge.php.
References afterUpdate().
ilADTMultiEnumDBBridge::afterUpdate | ( | ) |
Definition at line 44 of file class.ilADTMultiEnumDBBridge.php.
References deleteIndices(), and insertIndices().
Referenced by afterInsert().
|
protected |
Definition at line 55 of file class.ilADTMultiEnumDBBridge.php.
References ilADTDBBridge\buildPrimaryWhere(), and getTable().
Referenced by afterUpdate().
|
protected |
ilADTMultiEnumDBBridge::getTable | ( | ) |
Definition at line 12 of file class.ilADTMultiEnumDBBridge.php.
Referenced by deleteIndices(), and insertIndices().
|
protected |
Definition at line 63 of file class.ilADTMultiEnumDBBridge.php.
References $index, ilADTDBBridge\getADT(), ilADTDBBridge\getPrimary(), getTable(), and ilDBConstants\T_INTEGER.
Referenced by afterUpdate().
|
protected |
Definition at line 17 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::prepareInsert | ( | array & | $a_fields | ) |
Definition at line 50 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::readRecord | ( | array | $a_row | ) |
Definition at line 32 of file class.ilADTMultiEnumDBBridge.php.
References ilADTDBBridge\getADT(), and ilADTDBBridge\getElementId().
ilADTMultiEnumDBBridge::setFakeSingle | ( | bool | $a_status | ) |
Definition at line 22 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::supportsDefaultValueColumn | ( | ) |
Definition at line 72 of file class.ilADTMultiEnumDBBridge.php.
|
protected |
Definition at line 10 of file class.ilADTMultiEnumDBBridge.php.
Referenced by doSingleFake().
const ilADTMultiEnumDBBridge::SEPARATOR = "~|~" |
Definition at line 8 of file class.ilADTMultiEnumDBBridge.php.
const ilADTMultiEnumDBBridge::TABLE_NAME = 'adv_md_values_enum' |
Definition at line 7 of file class.ilADTMultiEnumDBBridge.php.