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

Class: Text_Wiki_Parse_Wikilink

Source Location: /Text_Wiki_Doku-0.0.1/Text/Wiki/Parse/Doku/Wikilink.php

Class Overview

Text_Wiki_Parse
   |
   --Text_Wiki_Parse_Wikilink

Parse for links to wiki pages.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 45]
Parse for links to wiki pages.

Wiki page names are typically in StudlyCapsStyle made of WordsSmashedTogether.

You can also create described links to pages in this style: [WikiPageName nice text link to use for display]

The token options for this rule are:

'page' => the wiki page name.

'text' => the displayed link text.

'anchor' => a named anchor on the target wiki page.



[ Top ]


Class Variables

$conf = array (
       'ext_chars' => false
    )

[line 47]


Type:   mixed


[ Top ]



Method Detail

parse   [line 62]

void parse( )

First parses for described links, then for standalone links.
  • Access: public

[ Top ]

processDescr   [line 95]

A processDescr( array &$matches)

Generate a replacement for described links.
  • Return: delimited token to be used as a placeholder in the source text, plus any text priot to the match.
  • Access: public

Parameters:

array   &$matches   —  The array of matches from parse().

[ Top ]


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