public function getInfotext() { if (!$this->printed) { return 'Draft'; } else { return 'Printed'; } }