ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
getActiveRecordFields () | |
Convert ADT to active record fields. | |
getFieldValue ($a_field_name) | |
Get field value. | |
setFieldValue ($a_field_name, $a_field_value) | |
Set field value. | |
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. |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
Check if given ADT is valid. | |
Protected Member Functions inherited from ilADTActiveRecordBridge | |
setADT (ilADT $a_adt) | |
Set ADT. |
Additional Inherited Members | |
Protected Attributes inherited from ilADTActiveRecordBridge | |
$adt | |
$id | |
$tabe | |
$primary |
Definition at line 5 of file class.ilADTTextActiveRecordBridge.php.
ilADTTextActiveRecordBridge::getActiveRecordFields | ( | ) |
Convert ADT to active record fields.
Reimplemented from ilADTActiveRecordBridge.
Definition at line 16 of file class.ilADTTextActiveRecordBridge.php.
References arField\FIELD_TYPE_TEXT, ilADTActiveRecordBridge\getADT(), and ilADTActiveRecordBridge\getElementId().
ilADTTextActiveRecordBridge::getFieldValue | ( | $a_field_name | ) |
Get field value.
string | $a_field_name |
Reimplemented from ilADTActiveRecordBridge.
Definition at line 35 of file class.ilADTTextActiveRecordBridge.php.
References ilADTActiveRecordBridge\getADT().
|
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 7 of file class.ilADTTextActiveRecordBridge.php.
ilADTTextActiveRecordBridge::setFieldValue | ( | $a_field_name, | |
$a_field_value | |||
) |
Set field value.
string | $a_field_name | |
mixed | $a_field_value |
Reimplemented from ilADTActiveRecordBridge.
Definition at line 40 of file class.ilADTTextActiveRecordBridge.php.
References ilADTActiveRecordBridge\getADT().