* @author Marcus Lunzenauer * @author Martin Gieseking * @license GPL2 or any later version */ class DataFieldTextareaEntry extends DataFieldEntry { protected $template = 'textarea.php'; /** * Returns the display/rendered value of this datafield * * @param bool $entities Should html entities be encoded (defaults to true) * @return String containg the rendered value */ public function getDisplayValue($entities = true) { if ($entities) { return htmlReady($this->getValue(), true, true); } return $this->getValue(); } }