public function updateInfo($title, $description, TagSet $tags, $con = null) { $this->row['title'] = $title; $this->row['description'] = $description; $this->update($con); TagDb::removeFromPackage($this, $con); TagDb::insertPackageTags($this, $tags, $con); $this->tags = $tags; }