public function pkFromRow($row) { $pks = array(); foreach ($this->primaryKeys as $pk) { $pks[$pk] = $row[$pk]; } return $pks; }