/** * Get a combined and locallized Info of message and all submessages * @return string */ public function getLocallizedInfotext() { $result = $this->message->getLocallizedInfotext(); if ($this->submessages) { foreach ($this->submessages as $submessage) { $result .= chr(10) . ' - ' . $submessage->getLocallizedInfotext(); } } return $result; }
/** * Get a combined and locallized Info of message and all submessages * @return string */ public function getLocallizedInfotext() { $result = $this->message->getLocallizedInfotext(); if ($this->submessages) { /** @var tx_caretaker_ResultMessage $submessage */ foreach ($this->submessages as $submessage) { $result .= chr(10) . ' - ' . $submessage->getLocallizedInfotext(); } } return $result; }