|
Previous Page |
Solar_Markdown |
Next Page |
Properties
Public
None.
Protected
$_Solar_Markdown
(array) Default configuration for the class.
Keys are ...
tab_width- (int) Number of spaces per tab. Default 4.
tidy- (bool|array) If empty/false/null, do not use Tidy to post-process the transformed output. If true or a non-empty array, is a set of config options to pass to Tidy when rendering output. See also http://php.net/tidy. Default false.
plugins- (array) An array of plugins for the parser to use, in order.
$_block_class
(array) Array of all block-type plugin class names.
Each plugin reports if it is a span or a block.
$_bs_esc
(array) Escape table for backslashed special Markdown characters.
Format is "\$char" => "\x1B$char\x1B".
Note that the backslash escape table and the normal escape table map to identical escape sequences.
$_char_ldelim
(string) Left-delimiter for encoded Markdown characters.
$_char_rdelim
(string) Right-delimiter for encoded Markdown characters.
$_chars
(array) Special characters that should be encoded by Markdown.
This list will grow as plugins are added; they each report their own list of special characters to be encoded.
$_cleanup_class
(array) Array of all plugin classes that need to clean up the text after processing.
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
$_count
(int) Running count of $this->_html elements so we don't have to count($this->_html) each time we add an HTML token.
$_esc
(array) Escape table for special Markdown characters.
Format is "$char" => "\x1B$char\x1B".
$_html
(array) Array of HTML blocks represented by delimited token numbers.
Format is token => html.
$_html_ldelim
(string) Left-delimiter for HTML tokens.
$_html_rdelim
(string) Right-delimiter for HTML tokens.
$_link
(array) List of defined link references keyed on the link name.
Format is "link-name" => array('href' => ..., 'title' => ...).
Generally populated via the StripLinkDefs plugin.
$_plugin
(array) Array of all plugin objects.
Format is class name => object instance.
$_prepare_class
(array) Array of all plugin classes that need to prepare the text before processing.
$_span_class
(array) Array of all span-type plugin class names.
Each plugin reports if it is a span or a block.
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()