4 require_once
"Services/ActiveRecord/classes/Fields/class.arField.php";
55 throw new Exception(
'ADTActiveRecordBridge Type mismatch.');
78 $this->table = (string) $a_table;
98 $this->
id = (string) $a_value;
118 $this->primary = $a_value;
158 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.
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.
__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.
if(empty($password)) $table
setADT(ilADT $a_adt)
Set ADT.