Source of file PlainFormatter.php
Size: 0,505 Bytes - Last Modified: 2021-12-23T10:07:55+00:00
/var/www/docs.ssmods.com/process/src/code/formatters/PlainFormatter.php
123456789101112131415161718192021222324252627 | <?php /** * Plain text simplewiki formatter * * @author Marcus Nyeholt <marcus@silverstripe.com.au> * @license BSD License (http://silverstripe.org/BSD-License) */ class PlainFormatter extends SimpleWikiFormatter { public function getFormatterName() { return "Plain"; } public function getEditingField(DataObject $wikiPage) { return new TextareaField('Content', '', 30, 20); } public function formatRaw($string) { return $string; } public function getHelpUrl() { return null; } } |