diff options
| author | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2024-06-18 13:18:06 +0000 |
|---|---|---|
| committer | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2024-06-18 13:18:06 +0000 |
| commit | 33fd1358507b4a5abb3dcebe78d407d0567717c1 (patch) | |
| tree | 6bd8f6959da4c3fc1b8907c0bbc28eb9e10d4a5a /lib/classes/DataFieldTextmarkupEntry.class.php | |
| parent | 42d46671c0309bddb71a91bbfdc5f2fa2e44384e (diff) | |
Deprecate `StudipAutoloader` and use composer's `autoload`
Closes #4282
Merge request studip/studip!3099
Diffstat (limited to 'lib/classes/DataFieldTextmarkupEntry.class.php')
| -rw-r--r-- | lib/classes/DataFieldTextmarkupEntry.class.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/classes/DataFieldTextmarkupEntry.class.php b/lib/classes/DataFieldTextmarkupEntry.class.php deleted file mode 100644 index 50115b9..0000000 --- a/lib/classes/DataFieldTextmarkupEntry.class.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -/** - * @author Elmar Ludwig <elmar.ludwig@uos.de> - * @license GPL2 or any later version - */ -class DataFieldTextmarkupEntry extends DataFieldTextareaEntry -{ - protected $template = 'textmarkup.php'; - - /** - * Sets the value from a post request - * - * @param mixed $submitted_value The value from request - */ - public function setValueFromSubmit($submitted_value) - { - $this->setValue(Studip\Markup::purifyHtml($submitted_value)); - } - - /** - * 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 formatReady($this->getValue()); - } - - return $this->getValue(); - } -} |
