|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilADTMultiEnumDBBridge:
Collaboration diagram for ilADTMultiEnumDBBridge:Public Member Functions | |
| getTable () | |
| setFakeSingle (bool $a_status) | |
| readRecord (array $a_row) | |
| Import DB values to ADT. More... | |
| afterInsert () | |
| After insert hook to enable sub-tables. More... | |
| afterUpdate () | |
| After update hook to enable sub-tables. More... | |
| prepareInsert (array &$a_fields) | |
| Prepare ADT values for insert. More... | |
| supportsDefaultValueColumn () | |
| true if table storage relies on the default 'value' column More... | |
Public Member Functions inherited from ilADTDBBridge | |
| __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 () | |
Protected Member Functions inherited from ilADTDBBridge | |
| isValidADT (ilADT $a_adt) | |
| setADT (ilADT $a_adt) | |
Protected Attributes | |
| bool | $fake_single = false |
Protected Attributes inherited from ilADTDBBridge | |
| ilADT | $adt |
| string | $table |
| string | $id |
| array | $primary = [] |
| ilDBInterface | $db |
Definition at line 5 of file class.ilADTMultiEnumDBBridge.php.
| ilADTMultiEnumDBBridge::afterInsert | ( | ) |
After insert hook to enable sub-tables.
Reimplemented from ilADTDBBridge.
Definition at line 39 of file class.ilADTMultiEnumDBBridge.php.
References afterUpdate().
Here is the call graph for this function:| ilADTMultiEnumDBBridge::afterUpdate | ( | ) |
After update hook to enable sub-tables.
Reimplemented from ilADTDBBridge.
Definition at line 44 of file class.ilADTMultiEnumDBBridge.php.
References deleteIndices(), and insertIndices().
Referenced by afterInsert().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 55 of file class.ilADTMultiEnumDBBridge.php.
References ilADTDBBridge\buildPrimaryWhere(), and getTable().
Referenced by afterUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilADTMultiEnumDBBridge.php.
References $fake_single.
| ilADTMultiEnumDBBridge::getTable | ( | ) |
Reimplemented from ilADTDBBridge.
Definition at line 12 of file class.ilADTMultiEnumDBBridge.php.
References TABLE_NAME.
Referenced by deleteIndices(), and insertIndices().
Here is the caller graph for this function:
|
protected |
Definition at line 63 of file class.ilADTMultiEnumDBBridge.php.
References $index, ilADTDBBridge\getADT(), ilADTDBBridge\getPrimary(), getTable(), and ilDBConstants\T_INTEGER.
Referenced by afterUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilADTDBBridge.
Definition at line 17 of file class.ilADTMultiEnumDBBridge.php.
| ilADTMultiEnumDBBridge::prepareInsert | ( | array & | $a_fields | ) |
Prepare ADT values for insert.
| array | &$a_fields |
Reimplemented from ilADTDBBridge.
Definition at line 50 of file class.ilADTMultiEnumDBBridge.php.
| ilADTMultiEnumDBBridge::readRecord | ( | array | $a_row | ) |
Import DB values to ADT.
| array | $a_row |
Reimplemented from ilADTDBBridge.
Definition at line 32 of file class.ilADTMultiEnumDBBridge.php.
References ilADTDBBridge\getADT(), and ilADTDBBridge\getElementId().
Here is the call graph for this function:| ilADTMultiEnumDBBridge::setFakeSingle | ( | bool | $a_status | ) |
Definition at line 22 of file class.ilADTMultiEnumDBBridge.php.
| ilADTMultiEnumDBBridge::supportsDefaultValueColumn | ( | ) |
true if table storage relies on the default 'value' column
Reimplemented from ilADTDBBridge.
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.
Referenced by getTable().