|
Previous Page |
Solar_Markdown_Wiki_Link |
Next Page |
Properties
Public
None.
Protected
$_Solar_Markdown_Plugin
(array) Default configuration values for this class.
Inherited from Solar_Markdown_Plugin.
Keys are ...
markdown- (Solar_Markdown) The "parent" Markdown object.
$_attribs
(array) Attribs for 'read' and 'add' style links.
Note that 'href' is special, in that it is an sprintf() format string.
$_chars
(string) The characters this plugin uses for parsing, which should be encoded by other other plugins.
Inherited from Solar_Markdown_Plugin.
$_check_pages
(callback) Callback to check if pages linked from the source text exist or not.
$_class
(string) The name of this class, for identifying encoded keys in the source text.
$_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->_links, so we don't have to call count() on it all the time.
$_interwiki
(array) Array of interwiki site names to base hrefs.
Interwiki href values are actually sprintf() strings, where %s will be replaced with the page requested at the interwiki site. For example, this key-value pair ...
'php' => 'http://php.net/%s'
... means that [[php::print()]] will become a link to
http://php.net/print().
$_is_block
(bool) This is not a block plugin.
Inherited from Solar_Markdown_Plugin.
$_is_cleanup
(bool) Runs during the cleanup() phase.
Inherited from Solar_Markdown_Plugin.
$_is_prepare
(bool) Do not run this plugin during the "prepare" phase.
Inherited from Solar_Markdown_Plugin.
$_is_span
(bool) This is a span plugin.
Inherited from Solar_Markdown_Plugin.
$_links
(array) Array of information for each link found in the source text.
Each element is an array with these keys ...
norm- The normalized form of the page name.
page- The page name as entered in the source text.
frag- A fragment anchor for the target page (for example, "#example").
text- The text to display in place of the page name.
atch- Attached suffix text to go on the end of the displayed text.
$_markdown
(Solar_Markdown) The "parent" Markdown object.
Inherited from Solar_Markdown_Plugin.
$_nested_brackets
(string) The regular expression for nested brackets.
Inherited from Solar_Markdown_Plugin.
Built by the constructor based on $_nested_brackets_depth.
$_nested_brackets_depth
(int) The max depth for nested brackets.
Inherited from Solar_Markdown_Plugin.
$_pages
(array) Array of which pages exist and which don't.
Format is page name => true/false.
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()