Text_Wiki
[ class tree: Text_Wiki ] [ index: Text_Wiki ] [ all elements ]

Class: Text_Wiki_Render

Source Location: /Text_Wiki-1.0.0RC2/Text/Wiki/Render.php

Class Overview


Base rendering class for parsed and tokenized text.


Author(s):

Variables

Methods


Child classes:

Text_Wiki_Render_Latex
Formats parsed Text_Wiki for LaTeX rendering.
Text_Wiki_Render_Xhtml_List
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Colortext
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_tt
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Include
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Bold
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Html
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Deflist
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Prefilter
This class implements a Text_Wiki_Render_Xhtml to "pre-filter" source text so that line endings are consistently \n, lines ending in a backslash \ are concatenated with the next line, and tabs are converted to spaces.
Text_Wiki_Render_Xhtml_Strong
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Blockquote
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Paragraph
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Horiz
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Toc
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Newline
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Table
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Url
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Superscript
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Revise
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Raw
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Code
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Emphasis
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Center
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Delimiter
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Image
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Anchor
This class renders an anchor target name in XHTML.
Text_Wiki_Render_Xhtml_Italic
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Interwiki
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Heading
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Phplookup
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Wikilink
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Tighten
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Function
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Break
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml_Embed
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_List
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Colortext
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_tt
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Include
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Bold
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Html
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Deflist
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Prefilter
This class implements a Text_Wiki_Render_Xhtml to "pre-filter" source text so that line endings are consistently \n, lines ending in a backslash \ are concatenated with the next line, and tabs are converted to spaces.
Text_Wiki_Render_Plain_Strong
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Blockquote
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Paragraph
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Horiz
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Toc
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Newline
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Table
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Url
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Superscript
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Revise
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Raw
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Code
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Emphasis
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Center
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Delimiter
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Image
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Anchor
This class renders an anchor target name in XHTML.
Text_Wiki_Render_Plain_Italic
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Interwiki
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Heading
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Phplookup
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Wikilink
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Tighten
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Function
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Freelink
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Break
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain_Embed
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Xhtml
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_List
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Colortext
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_tt
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Include
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Html
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Deflist
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Prefilter
This class implements a Text_Wiki_Render_Latex to "pre-filter" source text so that line endings are consistently \n, lines ending in a backslash \ are concatenated with the next line, and tabs are converted to spaces.
Text_Wiki_Render_Latex_Strong
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Blockquote
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Paragraph
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Horiz
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Toc
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Newline
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Table
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Url
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Superscript
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Revise
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Raw
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Code
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Emphasis
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Center
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Delimiter
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Image
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Anchor
This class renders an anchor target name in LaTeX.
Text_Wiki_Render_Latex_Interwiki
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Heading
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Phplookup
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Wikilink
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Tighten
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Function
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Freelink
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Break
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Latex_Embed
Base rendering class for parsed and tokenized text.
Text_Wiki_Render_Plain
Base rendering class for parsed and tokenized text.

Inherited Variables

Inherited Methods


Class Details

[line 33]
Base rendering class for parsed and tokenized text.


[ Top ]


Class Variables

$conf = array()

[line 46]

Configuration options for this render rule.
  • Access: public

Type:   string


[ Top ]

$format =  null

[line 59]

The name of this rule's format.
  • Access: public

Type:   string


[ Top ]

$rule =  null

[line 72]

The name of this rule's token array elements.
  • Access: public

Type:   string


[ Top ]

$wiki =  null

[line 87]

A reference to the calling Text_Wiki object.

This is needed so that each rule has access to the same source text, token set, URLs, interwiki maps, page names, etc.

  • Access: public

Type:   object


[ Top ]



Method Detail

Text_Wiki_Render (Constructor)   [line 100]

Text_Wiki_Render Text_Wiki_Render( object &$obj)

Constructor for this render format or rule.
  • Access: public

Parameters:

object   &$obj   —  The calling "parent" Text_Wiki object.

[ Top ]

formatConf   [line 187]

mixed formatConf( string $format, string $key)

Simple method to wrap a configuration in an sprintf() format.
  • Return: The formatted configuration key value (if it exists) or null (if it does not).
  • Access: public

Parameters:

string   $key   —  The configuration key.
string   $format   —  The sprintf() format string.

[ Top ]

getConf   [line 162]

mixed getConf( string $key, [mixed $default = null])

Simple method to safely get configuration key values.
  • Return: The configuration key value (if it exists) or the default value (if not).
  • Access: public

Parameters:

string   $key   —  The configuration key.
mixed   $default   —  If the key does not exist, return this value instead.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:28:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.