예제 #1
0
 private function checkLicenseEventTypes()
 {
     $licenseEventTypes = new ClearingEventTypes();
     $map = $licenseEventTypes->getMap();
     $this->errors += $this->checkDatabaseEnum($tablename = 'clearing_event', 'type_fk', $map);
 }
예제 #2
0
 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 . "'" . ")";
 }