ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getElements () | |
getElement ($a_element_id) | |
setTable ($a_table) | |
setPrimary (array $a_value) | |
readRecord (array $a_row) | |
prepareInsert (array &$a_fields) | |
afterInsert () | |
afterUpdate () | |
afterDelete () | |
Public Member Functions inherited from ilADTDBBridge | |
__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... | |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
prepareElements () | |
Protected Member Functions inherited from ilADTDBBridge | |
isValidADT (ilADT $a_adt) | |
Check if given ADT is valid. More... | |
setADT (ilADT $a_adt) | |
Set ADT. More... | |
Protected Attributes | |
$elements = [] | |
Protected Attributes inherited from ilADTDBBridge | |
$adt | |
$table | |
$id | |
$primary = [] | |
Definition at line 5 of file class.ilADTGroupDBBridge.php.
ilADTGroupDBBridge::afterDelete | ( | ) |
Definition at line 105 of file class.ilADTGroupDBBridge.php.
References getElements().
ilADTGroupDBBridge::afterInsert | ( | ) |
Definition at line 91 of file class.ilADTGroupDBBridge.php.
References getElements().
ilADTGroupDBBridge::afterUpdate | ( | ) |
Definition at line 98 of file class.ilADTGroupDBBridge.php.
References getElements().
ilADTGroupDBBridge::getElement | ( | $a_element_id | ) |
Definition at line 42 of file class.ilADTGroupDBBridge.php.
References getElements().
ilADTGroupDBBridge::getElements | ( | ) |
Definition at line 36 of file class.ilADTGroupDBBridge.php.
References $elements, and prepareElements().
Referenced by afterDelete(), afterInsert(), afterUpdate(), getElement(), prepareElements(), prepareInsert(), readRecord(), setPrimary(), and setTable().
|
protected |
Definition at line 9 of file class.ilADTGroupDBBridge.php.
|
protected |
Definition at line 17 of file class.ilADTGroupDBBridge.php.
References $factory, $name, ilADTDBBridge\getADT(), getElements(), ilADTFactory\getInstance(), ilADTDBBridge\getPrimary(), and ilADTDBBridge\getTable().
Referenced by getElements().
ilADTGroupDBBridge::prepareInsert | ( | array & | $a_fields | ) |
Definition at line 84 of file class.ilADTGroupDBBridge.php.
References getElements().
ilADTGroupDBBridge::readRecord | ( | array | $a_row | ) |
Definition at line 77 of file class.ilADTGroupDBBridge.php.
References getElements().
ilADTGroupDBBridge::setPrimary | ( | array | $a_value | ) |
Definition at line 63 of file class.ilADTGroupDBBridge.php.
References $name, ilADTDBBridge\getADT(), getElements(), and ilADTDBBridge\getPrimary().
Referenced by ilADTTest\initDBBridge().
ilADTGroupDBBridge::setTable | ( | $a_table | ) |
Definition at line 52 of file class.ilADTGroupDBBridge.php.
References $name, ilADTDBBridge\getADT(), getElements(), and ilADTDBBridge\getTable().
Referenced by ilADTTest\initDBBridge().
|
protected |
Definition at line 7 of file class.ilADTGroupDBBridge.php.
Referenced by getElements().