\PlainFormatter
Plain text simplewiki formatter
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
- License: BSD License (http://silverstripe.org/BSD-License)
Synopsis
class PlainFormatter
extends SimpleWikiFormatter
{
- // methods
- public void getFormatterName()
- public void getEditingField()
- public void formatRaw()
- public void getHelpUrl()
- // Inherited methods from SimpleWikiFormatter
- public void analyseSavedContent()
- public array parseNewPagesFrom()
- public void updateCMSFields()
- public abstract void getFormatterName()
- public abstract void getEditingField()
- public void formatContent()
- public abstract void formatRaw()
- public abstract void getHelpUrl()
Hierarchy
Extends
Methods
public
Inherited from SimpleWikiFormatter
public
- analyseSavedContent() — Analyse content just after it's saved. This is useful for creating new pages etc where referenced by particular formatting
- formatContent() — Format the content for output
- formatRaw()
- getEditingField() — Get the CMS field for editing this kind of element
- getFormatterName() — Gets the type of this formatter as a string
- getHelpUrl() — Get a URL that links to a page showing relevant help functionality
- parseNewPagesFrom() — Separated into a separate method for testing
- updateCMSFields() — Allows a formatter to change the fields available in the backend for a wiki page.