ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
setFakeSingle ($a_status) | |
readRecord (array $a_row) | |
Import DB values to ADT. | |
prepareInsert (array &$a_fields) | |
Prepare ADT values for insert. | |
Public Member Functions inherited from ilADTMultiDBBridge | |
afterInsert () | |
After insert hook to enable sub-tables. | |
afterUpdate () | |
After update hook to enable sub-tables. | |
afterDelete () | |
After delete hook to enable sub-tables. | |
Public Member Functions inherited from ilADTDBBridge | |
__construct (ilADT $a_adt) | |
Constructor. | |
getADT () | |
Get ADT. | |
setTable ($a_table) | |
Set table name. | |
getTable () | |
Get table name. | |
setElementId ($a_value) | |
Set element id (aka DB column[s] [prefix]) | |
getElementId () | |
Get element id. | |
setPrimary (array $a_value) | |
Set primary fields (in MDB2 format) | |
getPrimary () | |
Get primary fields. | |
buildPrimaryWhere () | |
Convert primary keys array to sql string. | |
prepareUpdate (array &$a_fields) | |
Prepare ADT values for update. |
Data Fields | |
const | SEPARATOR = "~|~" |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
Check if given ADT is valid. | |
doSingleFake () | |
readMultiRecord ($a_set) | |
Import record-rows from sub-table. | |
prepareMultiInsert () | |
Build insert-fields for each "value". | |
Protected Member Functions inherited from ilADTMultiDBBridge | |
getSubTableName () | |
Build sub-table name. | |
Protected Member Functions inherited from ilADTDBBridge | |
setADT (ilADT $a_adt) | |
Set ADT. |
Protected Attributes | |
$fake_single |
Definition at line 5 of file class.ilADTMultiEnumDBBridge.php.
|
protected |
Definition at line 21 of file class.ilADTMultiEnumDBBridge.php.
References $fake_single.
Referenced by prepareInsert(), and readRecord().
|
protected |
Check if given ADT is valid.
:TODO: This could be avoided with type-specifc constructors :TODO: bridge base class?
ilADT | $a_adt |
Reimplemented from ilADTDBBridge.
Definition at line 11 of file class.ilADTMultiEnumDBBridge.php.
ilADTMultiEnumDBBridge::prepareInsert | ( | array & | $a_fields | ) |
Prepare ADT values for insert.
array | &$a_fields |
Reimplemented from ilADTMultiDBBridge.
Definition at line 65 of file class.ilADTMultiEnumDBBridge.php.
References doSingleFake(), ilADTDBBridge\getADT(), and ilADTDBBridge\getElementId().
|
protected |
Build insert-fields for each "value".
Reimplemented from ilADTMultiDBBridge.
Definition at line 78 of file class.ilADTMultiEnumDBBridge.php.
References $res, ilADTDBBridge\getADT(), and ilADTDBBridge\getElementId().
|
protected |
Import record-rows from sub-table.
object | $a_set |
Reimplemented from ilADTMultiDBBridge.
Definition at line 51 of file class.ilADTMultiEnumDBBridge.php.
References $ilDB, $row, ilADTDBBridge\getADT(), and ilADTDBBridge\getElementId().
Referenced by readRecord().
ilADTMultiEnumDBBridge::readRecord | ( | array | $a_row | ) |
Import DB values to ADT.
array | $a_row |
Reimplemented from ilADTMultiDBBridge.
Definition at line 26 of file class.ilADTMultiEnumDBBridge.php.
References $ilDB, doSingleFake(), ilADTDBBridge\getADT(), ilADTDBBridge\getElementId(), and readMultiRecord().
ilADTMultiEnumDBBridge::setFakeSingle | ( | $a_status | ) |
Definition at line 16 of file class.ilADTMultiEnumDBBridge.php.
|
protected |
Definition at line 7 of file class.ilADTMultiEnumDBBridge.php.
Referenced by doSingleFake().
const ilADTMultiEnumDBBridge::SEPARATOR = "~|~" |
Definition at line 9 of file class.ilADTMultiEnumDBBridge.php.
Referenced by ilADTEnumSearchBridgeMulti\getSQLCondition(), and ilAdvancedMDFieldDefinitionSelectMulti\update().