function getSaveErrorMessage() { $typeLabel = $this->getTypeLabel(); $doneMessage = $this->getActionDoneMessage($this->object); return $this->objectSaved ? "<B>$doneMessage, but error(s) in related item(s):</B> " : "<B>This $typeLabel can not be saved because:</B> "; } |