private function checkLicenseEventTypes() { $licenseEventTypes = new ClearingEventTypes(); $map = $licenseEventTypes->getMap(); $this->errors += $this->checkDatabaseEnum($tablename = 'clearing_event', 'type_fk', $map); }
public function __toString() { $eventTypes = new ClearingEventTypes(); return "ClearingLicense(" . ($this->isRemoved() ? "-" : "") . $this->getLicenseRef() . ",type='" . $eventTypes->getTypeName($this->type) . "'(" . $this->type . ")" . ",comment='" . $this->comment . "'" . ",reportinfo='" . $this->reportInfo . "'" . ")"; }