|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilADTGroupDBBridge:
Collaboration diagram for ilADTGroupDBBridge:Public Member Functions | |
| getElements () | |
| getElement ($a_element_id) | |
| setTable ($a_table) | |
| Set table name. More... | |
| setPrimary (array $a_value) | |
| Set primary fields (in MDB2 format) 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... | |
| afterUpdate () | |
| After update hook to enable sub-tables. More... | |
| afterDelete () | |
| After delete hook to enable sub-tables. More... | |
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) | |
| Check if given ADT is valid. More... | |
| 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 | ( | ) |
After delete hook to enable sub-tables.
Reimplemented from ilADTDBBridge.
Definition at line 105 of file class.ilADTGroupDBBridge.php.
References getElements().
Here is the call graph for this function:| ilADTGroupDBBridge::afterInsert | ( | ) |
After insert hook to enable sub-tables.
Reimplemented from ilADTDBBridge.
Definition at line 91 of file class.ilADTGroupDBBridge.php.
References getElements().
Here is the call graph for this function:| ilADTGroupDBBridge::afterUpdate | ( | ) |
After update hook to enable sub-tables.
Reimplemented from ilADTDBBridge.
Definition at line 98 of file class.ilADTGroupDBBridge.php.
References getElements().
Here is the call graph for this function:| ilADTGroupDBBridge::getElement | ( | $a_element_id | ) |
Definition at line 42 of file class.ilADTGroupDBBridge.php.
References getElements().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilADTGroupDBBridge::prepareInsert | ( | array & | $a_fields | ) |
Prepare ADT values for insert.
| array | &$a_fields |
Reimplemented from ilADTDBBridge.
Definition at line 84 of file class.ilADTGroupDBBridge.php.
References getElements().
Here is the call graph for this function:| ilADTGroupDBBridge::readRecord | ( | array | $a_row | ) |
Import DB values to ADT.
| array | $a_row |
Reimplemented from ilADTDBBridge.
Definition at line 77 of file class.ilADTGroupDBBridge.php.
References getElements().
Here is the call graph for this function:| ilADTGroupDBBridge::setPrimary | ( | array | $a_value | ) |
Set primary fields (in MDB2 format)
| array | $a_value |
Reimplemented from ilADTDBBridge.
Definition at line 63 of file class.ilADTGroupDBBridge.php.
References $name, ilADTDBBridge\getADT(), getElements(), and ilADTDBBridge\getPrimary().
Referenced by ilADTTest\initDBBridge().
Here is the call graph for this function:
Here is the caller graph for this function:| ilADTGroupDBBridge::setTable | ( | $a_table | ) |
Set table name.
| string | $a_table |
Reimplemented from ilADTDBBridge.
Definition at line 52 of file class.ilADTGroupDBBridge.php.
References $name, ilADTDBBridge\getADT(), getElements(), and ilADTDBBridge\getTable().
Referenced by ilADTTest\initDBBridge().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 7 of file class.ilADTGroupDBBridge.php.
Referenced by getElements().