3 require_once
"Services/ADT/classes/Bridges/class.ilADTDBBridge.php";
19 if (
sizeof($this->elements)) {
23 $this->elements = array();
29 $this->elements[
$name] =
$factory->getDBBridgeForInstance($element);
44 if (array_key_exists($a_element_id, $this->
getElements())) {
45 return $this->elements[$a_element_id];
54 parent::setTable($a_table);
56 if (
sizeof($this->elements)) {
65 parent::setPrimary($a_value);
67 if (
sizeof($this->elements)) {
80 $element->readRecord($a_row);
87 $element->prepareInsert($a_fields);
94 $element->afterInsert();
101 $element->afterUpdate();
108 $element->afterDelete();
getElement($a_element_id)
setPrimary(array $a_value)
getTable()
Get table name.
getPrimary()
Get primary fields.
static getInstance()
Get singleton.
ADT DB bridge base class.
prepareInsert(array &$a_fields)