| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
ADT DB bridge base class. More...
 Inheritance diagram for ilADTActiveRecordBridge:
 Collaboration diagram for ilADTActiveRecordBridge:Public Member Functions | |
| __construct (ilADT $a_adt) | |
| getADT () | |
| Get ADT.  More... | |
| 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... | |
| getPrimary () | |
| Get primary fields.  More... | |
| getActiveRecordFields () | |
| Convert ADT to active record fields.  More... | |
| getFieldValue (string $a_field_name) | |
| Get field value.  More... | |
| setFieldValue (string $a_field_name, $a_field_value) | |
| Set field value.  More... | |
Protected Member Functions | |
| isValidADT (ilADT $a_adt) | |
| setADT (ilADT $a_adt) | |
| Set ADT.  More... | |
Protected Attributes | |
| ilADT | $adt | 
| string | $id | 
| string | $table | 
| array | $primary = [] | 
ADT DB bridge base class.
Definition at line 12 of file class.ilADTActiveRecordBridge.php.
| ilADTActiveRecordBridge::__construct | ( | ilADT | $a_adt | ) | 
Definition at line 19 of file class.ilADTActiveRecordBridge.php.
References isValidADT(), and setADT().
 Here is the call graph for this function:
      
  | 
  abstract | 
Convert ADT to active record fields.
Referenced by getPrimary().
 Here is the caller graph for this function:| ilADTActiveRecordBridge::getADT | ( | ) | 
Get ADT.
Definition at line 43 of file class.ilADTActiveRecordBridge.php.
References $adt.
Referenced by ilADTTextActiveRecordBridge\getActiveRecordFields(), ilADTTextActiveRecordBridge\getFieldValue(), ilADTGroupActiveRecordBridge\prepareElements(), and ilADTTextActiveRecordBridge\setFieldValue().
 Here is the caller graph for this function:| ilADTActiveRecordBridge::getElementId | ( | ) | 
Get element id.
Definition at line 71 of file class.ilADTActiveRecordBridge.php.
References $id.
Referenced by ilADTTextActiveRecordBridge\getActiveRecordFields().
 Here is the caller graph for this function:
      
  | 
  abstract | 
Get field value.
| string | $a_field_name | 
Referenced by getPrimary().
 Here is the caller graph for this function:| ilADTActiveRecordBridge::getPrimary | ( | ) | 
Get primary fields.
Definition at line 89 of file class.ilADTActiveRecordBridge.php.
References $primary, getActiveRecordFields(), getFieldValue(), and setFieldValue().
 Here is the call graph for this function:| ilADTActiveRecordBridge::getTable | ( | ) | 
      
  | 
  abstractprotected | 
      
  | 
  protected | 
Set ADT.
| ilADT | $a_adt | 
| InvalidArgumentException | 
Definition at line 31 of file class.ilADTActiveRecordBridge.php.
References isValidADT().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilADTActiveRecordBridge::setElementId | ( | string | $a_value | ) | 
Set element id (aka DB column[s] [prefix])
| string | $a_value | 
Definition at line 62 of file class.ilADTActiveRecordBridge.php.
      
  | 
  abstract | 
Set field value.
| string | $a_field_name | |
| string | int | $a_field_value | 
Referenced by getPrimary().
 Here is the caller graph for this function:| ilADTActiveRecordBridge::setPrimary | ( | array | $a_value | ) | 
Set primary fields (in MDB2 format)
| string[] | $a_value | 
Definition at line 80 of file class.ilADTActiveRecordBridge.php.
| ilADTActiveRecordBridge::setTable | ( | string | $a_table | ) | 
Definition at line 48 of file class.ilADTActiveRecordBridge.php.
      
  | 
  protected | 
Definition at line 14 of file class.ilADTActiveRecordBridge.php.
Referenced by getADT().
      
  | 
  protected | 
Definition at line 15 of file class.ilADTActiveRecordBridge.php.
Referenced by getElementId().
      
  | 
  protected | 
Definition at line 17 of file class.ilADTActiveRecordBridge.php.
Referenced by getPrimary().
      
  | 
  protected | 
Definition at line 16 of file class.ilADTActiveRecordBridge.php.
Referenced by getTable().