Source for file Center.php
Documentation is available at Center.php
// $Id: Center.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $
* This class implements a Text_Wiki_Parse to find lines marked for centering.
* The line must start with "= " (i.e., an equal-sign followed by a space).
* @author Paul M. Jones <pmjones@ciaweb.net>
* The regular expression used to find source text matching this
var $regex = '/\n\= (.*?)\n/';
* Generates a token entry for the matched text.
* @param array &$matches The array of matches from parse().
* @return A delimited token number to be used as a placeholder in
$start = $this->wiki->addToken (
$end = $this->wiki->addToken (
return "\n" . $start . $matches[1 ] . $end . "\n";
Documentation generated on Mon, 11 Mar 2019 14:22:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|