4 require_once
"Services/ActiveRecord/classes/Fields/class.arField.php";
56 throw new Exception(
'ADTActiveRecordBridge Type mismatch.');
79 $this->table = (
string)$a_table;
99 $this->
id = (
string)$a_value;
119 $this->primary = $a_value;
159 abstract public function setFieldValue($a_field_name, $a_field_value);
setFieldValue($a_field_name, $a_field_value)
Set field value.
getActiveRecordFields()
Convert ADT to active record fields.
Add rich text string
The name of the decorator.
getPrimary()
Get primary fields.
isValidADT(ilADT $a_adt)
Check if given ADT is valid.
setElementId($a_value)
Set element id (aka DB column[s] [prefix])
getElementId()
Get element id.
getTable()
Get table name.
setTable($a_table)
Set table name.
Create styles array
The data for the language used.
__construct(ilADT $a_adt)
Constructor.
getFieldValue($a_field_name)
Get field value.
setPrimary(array $a_value)
Set primary fields (in MDB2 format)
ADT DB bridge base class.
setADT(ilADT $a_adt)
Set ADT.