/** * Return the answer text according to options * * @param Survey $oSurvey * @param FormattingOptions $oOptions * @param string $fieldName * @param string $sValue * @return string */ public function getLongAnswer(SurveyObj $oSurvey, FormattingOptions $oOptions, $fieldName, $sValue) { return $this->transformResponseValue($oSurvey->getFullAnswer($fieldName, $sValue, $this->translator, $this->languageCode), $oSurvey->fieldMap[$fieldName]['type'], $oOptions, $fieldName); }