|
Previous Page |
Solar_Markdown_Wiki_Link |
Next Page |
Methods
Public
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
apiVersion()- Reports the API version for this class.
cleanup()- Cleans up text to replace encoded placeholders with anchors.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
getChars()- Get the list of characters this plugin uses for parsing.
getInterwiki()- Gets the list of interwiki mappings.
getPages()- Gets the list of pages found in the source text.
isBlock()- Is this a block-level plugin?
isCleanup()- Run this plugin during the "cleanup" phase?
isPrepare()- Run this plugin during the "prepare" phase?
isSpan()- Is this a span-level plugin?
locale()- Looks up class-specific locale strings based on a key.
parse()- Parses the source text for wiki page and interwiki links.
prepare()- Prepares the source text before any parsing occurs.
reset()- Resets this plugin for a new transformation.
setAttrib()- Sets one anchor attribute.
setAttribs()- Sets all attributes for one anchor type.
setCheckPagesCallback()- Sets the callback to check if pages exist.
setInterwiki()- Sets one or more interwiki name and href mapping.
setMarkdown()- Sets the "parent" Markdown object.
Protected
_cleanup()- Support callback for replacing placeholder with anchors.
_encode()- Encodes special Markdown characters to they are not parsed by plugins.
_escape()- Escapes HTML in source text.
_exception()- Convenience method for returning exceptions with localized text.
_getTabWidth()- Returns the number of spaces per tab.
_interwiki()- Support callback for parsing interwiki links.
_isHtmlToken()- Is a piece of text a delimited HTML token?
_normalize()- Normalizes a wiki page name.
_outdent()- Removes one level of leading tabs or space from a text block.
_parse()- Support callback for parsing wiki links.
_processBlocks()- Processes the text using block-type plugins.
_processSpans()- Processes the text using span-type plugins.
_toHtmlToken()- Converts a piece of text to a delimited HTML token.
_unHtmlToken()- Converts all delimited HTML tokens back into HTML.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _cleanup()
- _encode()
- _escape()
- _exception()
- _getTabWidth()
- _interwiki()
- _isHtmlToken()
- _normalize()
- _outdent()
- _parse()
- _processBlocks()
- _processSpans()
- _toHtmlToken()
- _unHtmlToken()
- apiVersion()
- cleanup()
- dump()
- getChars()
- getInterwiki()
- getPages()
- isBlock()
- isCleanup()
- isPrepare()
- isSpan()
- locale()
- parse()
- prepare()
- reset()
- setAttrib()
- setAttribs()
- setCheckPagesCallback()
- setInterwiki()
- setMarkdown()