Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@197527 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
bertrand Gugger committed Oct 4, 2005
1 parent 531ee85 commit bf5418b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Text/Wiki/Parse/Default/Smiley.php
Expand Up @@ -135,8 +135,9 @@ function Text_Wiki_Parse_Smiley(&$obj)

/**
* 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
Expand All @@ -149,7 +150,7 @@ function process(&$matches)
array(
'symbol' => $matches[1],
'name' => $this->_smileys[$matches[1]][0],
'desc' => $this->_smileys[$matches[1]][1],
'desc' => $this->_smileys[$matches[1]][1]
));
}
}
Expand Down

0 comments on commit bf5418b

Please sign in to comment.