|
Previous Page |
Solar_Markdown_Wiki |
Next Page |
Methods
Public
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
_encode()- Support method for encode().
apiVersion()- Reports the API version for this class.
cleanup()- Runs the processed text through each plugin's cleanup() method.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
encode()- Encodes special Markdown characters so they are not recognized when parsing.
escape()- Escapes HTML in source text.
getLink()- Returns the href and title of a named link reference.
getLinks()- Returns an array of all defined link references.
getPlugin()- Returns an internal Markdown plugin object for direct manipulation and inspection.
getTabWidth()- Returns the number of spaces per tab.
isHtmlToken()- Is a piece of text a delimited HTML token?
locale()- Looks up class-specific locale strings based on a key.
prepare()- Prepares the text for processing by running the prepare() method of each plugin, in order, on the source text.
processBlocks()- Runs the source text through all block-type plugins.
processSpans()- Runs the source text through all span-type plugins.
render()- Returns a final rendering of the processed text.
reset()- Resets Markdown and all its plugins for a new transformation.
setLink()- Sets the value of a named link reference.
toHtmlToken()- Saves a pieces of text as HTML and returns a delimited token.
transform()- One-step transformation of source text using plugins.
unEncode()- Un-encodes special Markdown characters.
unHtmlToken()- Replaces all HTML tokens in source text with saved HTML.
Protected
_exception()- Convenience method for returning exceptions with localized text.
_explodeTags()- Explodes source text into tags and text Regular expression derived from the _tokenize() subroutine in Brad Choate's [MTRegex][] plugin.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _encode()
- _exception()
- _explodeTags()
- apiVersion()
- cleanup()
- dump()
- encode()
- escape()
- getLink()
- getLinks()
- getPlugin()
- getTabWidth()
- isHtmlToken()
- locale()
- prepare()
- processBlocks()
- processSpans()
- render()
- reset()
- setLink()
- toHtmlToken()
- transform()
- unEncode()
- unHtmlToken()