Properties

Properties existing in the Solar_Markdown_Wiki_Link class.

Public

None.

Protected

$_Solar_Markdown_Plugin

(array) Default configuration values.

Inherited from Solar_Markdown_Plugin.

$_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.

$_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.

$_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