cvs: pear /Text_Wiki/Text/Wiki/BBCode/Parse Colortext.php

From: Date: Sat, 16 Jul 2005 06:22:08 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/BBCode/Parse Colortext.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-33071@lists.php.net to get a copy of this message
toggg Sat Jul 16 02:22:08 2005 EDT Modified files: /pear/Text_Wiki/Text/Wiki/BBCode/Parse Colortext.php Log: Class header http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/BBCode/Parse/Colortext.php?r1=1.3&r2=1.4&ty=u Index: pear/Text_Wiki/Text/Wiki/BBCode/Parse/Colortext.php diff -u pear/Text_Wiki/Text/Wiki/BBCode/Parse/Colortext.php:1.3 pear/Text_Wiki/Text/Wiki/BBCode/Parse/Colortext.php:1.4 --- pear/Text_Wiki/Text/Wiki/BBCode/Parse/Colortext.php:1.3 Sat Jul 16 01:01:35 2005 +++ pear/Text_Wiki/Text/Wiki/BBCode/Parse/Colortext.php Sat Jul 16 02:22:06 2005 @@ -15,9 +15,22 @@ * @author Bertrand Gugger <bertrand@toggg.com> * @copyright 2005 bertrand Gugger * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: Colortext.php,v 1.3 2005/07/16 05:01:35 toggg Exp $ + * @version CVS: $Id: Colortext.php,v 1.4 2005/07/16 06:22:06 toggg Exp $ * @link http://pear.php.net/package/Text_Wiki */ + +/** + * Colored text rule parser class (with nesting) for BBCode. + * + * @category Text + * @package Text_Wiki + * @author Bertrand Gugger <bertrand@toggg.com> + * @copyright 2005 bertrand Gugger + * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 + * @version Release: @package_version@ + * @link http://pear.php.net/package/Text_Wiki + * @see Text_Wiki_Parse_BBCode::Text_Wiki_Parse_BBCode() + */ class Text_Wiki_Parse_Colortext extends Text_Wiki_Parse_BBCode { /** @@ -27,8 +40,7 @@ * * @access public * @var string - * @see parse() - * + * @see Text_Wiki_Parse_BBCode::parse() */ var $regex = "'(?:\[color=(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow|\#[0-9a-f]{6})]|\[/color])'i"; @@ -37,7 +49,7 @@ * Generates a replacement for the matched text. Token options are: * - 'type' => ['start'|'end'] The starting or ending point of the * colored text. The text itself is left in the source. - * - 'color' => the color indicator + * - 'color' => the color indicator (by post synchro for end) * * @access public * @param array &$matches The array of matches from parse().

« previous php.pear.cvs (#33071) next »