/** * Get TXT from fields * * @param <type> $ret * @param <type> $field * @return <type> */ private function _getTXT($ret, $field) { if ($field->isNull()) { return $ret; } return $ret . "\t" . $field->getDescription() . ": " . ($field->isNull() ? '--------' : $field->getValueName()) . "\n"; }