3 require_once
"Services/ADT/classes/Bridges/class.ilADTDBBridge.php";
19 if(
sizeof($this->elements))
24 $this->elements = array();
31 $this->elements[$name] = $factory->getDBBridgeForInstance($element);
32 $this->elements[$name]->setElementId($name);
33 $this->elements[$name]->setTable($this->
getTable());
34 $this->elements[$name]->setPrimary($this->
getPrimary());
46 if(array_key_exists($a_element_id, $this->
getElements()))
48 return $this->elements[$a_element_id];
59 if(
sizeof($this->elements))
63 $this->elements[$name]->setTable($this->
getTable());
72 if(
sizeof($this->elements))
76 $this->elements[$name]->setPrimary($this->
getPrimary());
88 $element->readRecord($a_row);
96 $element->prepareInsert($a_fields);
104 $element->afterInsert();
112 $element->afterUpdate();
120 $element->afterDelete();