public function updateMdlTable($tableName, $valueAssocArray, $whereAssocArray) { return GcrDatabaseAccessPostgres::updateTable($this, $tableName, $valueAssocArray, $whereAssocArray); }
public function updateMhrTable($tableName, $valueAssocArray, $whereAssocArray) { $this->beginTransaction(); // We need this to get past Mahara's triggers which are not schema aware. $this->gcQuery('SET LOCAL search_path TO ' . $this->short_name); $result = GcrDatabaseAccessPostgres::updateTable($this, $tableName, $valueAssocArray, $whereAssocArray); $this->commitTransaction(); return $result; }