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

Class: Text_Wiki_Parse_Image

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

Class Overview


Parses for image placement.




Inherited Variables

Inherited Methods

Class Details

[line 32]
Parses for image placement.

[ Top ]

Class Variables

$regex =  '/({img )(.+?)(})/i'

[line 46]

The regular expression used to find source text matching this rule.
  • Access: public

Type:   string

[ Top ]

Method Detail

process   [line 66]

A process( array &$matches)

Generates a token entry for the matched text. Token options are:

'src' => The image source, typically a relative path name.

'opts' => Any macro options following the source.

  • Return: delimited token number to be used as a placeholder in the source text.
  • Access: public


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

[ Top ]

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