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

Class: Text_Wiki_Parse_Revise

Source Location: /Text_Wiki_Cowiki-0.0.2/Text/Wiki/Parse/Cowiki/Revise.php

Class Overview

Text_Wiki_Parse
   |
   --Text_Wiki_Parse_Revise

Parses for text marked as revised (insert/delete).


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 32]
Parses for text marked as revised (insert/delete).


[ Top ]


Class Variables

$conf = array(
        'delmark' => '---',
        'insmark' => '+++'
    )

[line 61]

Config options.
  • Access: public

Type:   array


[ Top ]

$regex =  "/\@\@({*?.*}*?)\@\@/U"

[line 48]

The regular expression used to parse the source text and find matches conforming to this rule. Used by the parse() method.

Type:   string


[ Top ]



Method Detail

parse   [line 67]

void parse( )


[ Top ]

process   [line 107]

string process( array &$matches)

Generates a replacement for the matched text. Token options are:

'type' => ['start'|'end'] The starting or ending point of the inserted text. The text itself is left in the source.

  • Return: A pair of delimited tokens to be used as a placeholder in the source text surrounding the teletype text.
  • Access: public

Parameters:

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

[ Top ]

processDel   [line 84]

void processDel( $matches)


Parameters:

   $matches   — 

[ Top ]


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