public function Delete() { if (!$this->inDatabase) { return; } Fleet::DeleteFleet($this->Id); $this->inDatabase = FALSE; }