cvs: pear /Text_Wiki/Text/Wiki/Parse/Default Smiley.php

From: Date: Tue, 04 Oct 2005 08:17:53 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/Parse/Default Smiley.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35254@lists.php.net to get a copy of this message
toggg Tue Oct 4 04:17:53 2005 EDT Modified files: /pear/Text_Wiki/Text/Wiki/Parse/Default Smiley.php Log: Documentation http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Smiley.php?r1=1.5&r2=1.6&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Smiley.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Smiley.php:1.5 pear/Text_Wiki/Text/Wiki/Parse/Default/Smiley.php:1.6 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Smiley.php:1.5 Thu Aug 11 14:21:49 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Smiley.php Tue Oct 4 04:17:51 2005 @@ -14,7 +14,7 @@ * @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: Smiley.php,v 1.5 2005/08/11 18:21:49 toggg Exp $ + * @version CVS: $Id: Smiley.php,v 1.6 2005/10/04 08:17:51 toggg Exp $ * @link http://pear.php.net/package/Text_Wiki */ @@ -135,8 +135,9 @@ /** * Generates a replacement token for the matched text. Token options are: - * 'src' => the URL / path to the smiley - * 'attr' => empty for basic BBCode + * 'symbol' => the original marker + * 'name' => the name of the smiley + * 'desc' => the description of the smiley * * @param array &$matches The array of matches from parse(). * @return string Delimited token representing the smiley @@ -149,7 +150,7 @@ array( 'symbol' => $matches[1], 'name' => $this->_smileys[$matches[1]][0], - 'desc' => $this->_smileys[$matches[1]][1], + 'desc' => $this->_smileys[$matches[1]][1] )); } }

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