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

Class: Text_Wiki_Parse_SpecialChar

Source Location: /Text_Wiki_Tiki-0.1.0/Text/Wiki/Parse/Tiki/Specialchar.php

Class Overview

Text_Wiki_Parse
   |
   --Text_Wiki_Parse_SpecialChar

This class parses special chars markups for tikiwiki and replace them with a token


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 27]
This class parses special chars markups for tikiwiki and replace them with a token


[ Top ]


Class Variables

$types = array('~bs~',
                       '~hs~',
                       '~amp~',
                       '~ldq~',
                       '~rdq~',
                       '~lsq~',
                       '~rsq~',
                       '~c~',
                       '~--~',
                       '~lt~',
                       '~gt~')

[line 29]


Type:   mixed


[ Top ]



Method Detail

Text_Wiki_Parse_SpecialChar (Constructor)   [line 41]

Text_Wiki_Parse_SpecialChar Text_Wiki_Parse_SpecialChar( &$obj)


Parameters:

   &$obj   — 

[ Top ]

process   [line 67]

string process( array &$matches)

Generates a replacement token for the matched text. (option is 'char'=>initial code)
  • Return: A delimited token to be used as a placeholder in the source text.
  • Access: public

Parameters:

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

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:32:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.