Source for file Phplookup.php
Documentation is available at Phplookup.php
// $Id: Phplookup.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $
* Find source text marked for
* lookup in the PHP online manual.
* @author Paul M. Jones <pmjones@ciaweb.net>
* The regular expression used to parse the source text and find
* matches conforming to this rule. Used by the parse() method.
var $regex = "/\[\[php (.+?)\]\]/";
* Generates a replacement for the matched text. Token options are:
* 'type' => ['start'|'end'] The starting or ending point of the
* teletype text. The text itself is left in the source.
* @param array &$matches The array of matches from parse().
* @return string A pair of delimited tokens to be used as a
* placeholder in the source text surrounding the teletype text.
return $this->wiki->addToken (
$this->rule, array ('text' => $matches[1 ])
Documentation generated on Mon, 11 Mar 2019 14:22:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|