/**
  * Vrátí HTML strukturu pro zobrazní fieldu
  *
  * @author Tomáš Kocifaj
  * @link http://www.ktstudio.cz
  *
  * @return string
  */
 public function getField()
 {
     $html = "";
     $html .= "<textarea " . $this->getBasicHtml() . ">";
     $html .= KT::stringHtmlDecode($this->getValue());
     $html .= "</textarea>";
     if ($this->hasErrorMsg()) {
         $html .= parent::getHtmlErrorMsg();
     }
     return $html;
 }
 /**
  * Vrátí přeconvertovanou hodnotu ve fieldu, kdy bere ohled na date Field
  *
  * @author Tomáš Kocifaj
  * @link http://www.ktstudio.cz
  *
  * @param bolean $original - má vrátít originální hodnotu v DB nebo hodnotou pro zobrazení
  * @return null
  */
 public function getConvertedValue()
 {
     $fieldValue = parent::getConvertedValue();
     if ($this->getInputType() == self::INPUT_DATE && KT::issetAndNotEmpty($fieldValue)) {
         return $newFieldValue = KT::dateConvert($fieldValue);
     }
     return $fieldValue;
 }