|
Previous Page |
Solar_Markdown |
Next Page |
prepare()
public
string
prepare (
string $text
)
Prepares the text for processing by running the prepare() method of each plugin, in order, on the source text.
Parameters
- (string)
$text: The source text.
Returns
- (string) The source text after processing.
Description
Prepares the text for processing by running the prepare() method of each plugin, in order, on the source text.
Also calls the plugin's reset() method, and resets internal counters and arrays. This is to support work with multiple separate text sources.
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()