ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
getElements () | |
getElement ($a_element_id) | |
getActiveRecordFields () | |
Convert ADT to active record fields. | |
Public Member Functions inherited from ilADTActiveRecordBridge | |
__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. | |
getFieldValue ($a_field_name) | |
Get field value. | |
setFieldValue ($a_field_name, $a_field_value) | |
Set field value. |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
Check if given ADT is valid. | |
prepareElements () | |
Protected Member Functions inherited from ilADTActiveRecordBridge | |
setADT (ilADT $a_adt) | |
Set ADT. |
Protected Attributes | |
$elements | |
Protected Attributes inherited from ilADTActiveRecordBridge | |
$adt | |
$id | |
$tabe | |
$primary |
Definition at line 5 of file class.ilADTGroupActiveRecordBridge.php.
ilADTGroupActiveRecordBridge::getActiveRecordFields | ( | ) |
Convert ADT to active record fields.
Reimplemented from ilADTActiveRecordBridge.
Definition at line 54 of file class.ilADTGroupActiveRecordBridge.php.
References getElements().
ilADTGroupActiveRecordBridge::getElement | ( | $a_element_id | ) |
Definition at line 42 of file class.ilADTGroupActiveRecordBridge.php.
References getElements().
ilADTGroupActiveRecordBridge::getElements | ( | ) |
Definition at line 36 of file class.ilADTGroupActiveRecordBridge.php.
References $elements, and prepareElements().
Referenced by getActiveRecordFields(), getElement(), and prepareElements().
|
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 ilADTActiveRecordBridge.
Definition at line 9 of file class.ilADTGroupActiveRecordBridge.php.
|
protected |
Definition at line 17 of file class.ilADTGroupActiveRecordBridge.php.
References ilADTActiveRecordBridge\getADT(), getElements(), and ilADTFactory\getInstance().
Referenced by getElements().
|
protected |
Definition at line 7 of file class.ilADTGroupActiveRecordBridge.php.
Referenced by getElements().