<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Utils\WssField;

class WssFieldSelect extends \Kufer\Web\KuferTools\Utils\WssField\WssField
{
  protected function getValue($datamodulWert, $isFormular = false)
  {
    $combobox = \ComboboxFactory::getComboboxByColumn($this->datamodulColumn, parent::getValue($datamodulWert, $isFormular), $datamodulWert);

    return $combobox->getSelectedText();
  }
}