PHP Class Horde_Text_Filter_Emoticons, horde
By default, this filter does not do any transformation to the emoticon.
Parameters:
entities - (boolean) Use HTML entity versions of the patterns?
DEFAULT: false
Copyright 2003-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
Exibir arquivo
Open project: horde/horde
Protected Properties
Property |
Type |
Description |
|
$_emoticons |
|
* List complex strings before simpler ones, otherwise for example :((
would be matched against :( before :(( is found. |
|
$_params |
array |
Filter parameters. |
|
Public Methods
Method Details
emoticonReplace()
public method
Returns the replacement emoticon text.
Return the replacement emoticon text.
Returns a hash with all emoticons and names or the name of a single
emoticon.
getPatterns()
public method
Returns a hash with replace patterns.
Property Details
$_emoticons protected_oe property
* List complex strings before simpler ones, otherwise for example :((
would be matched against :( before :(( is found.
$_params protected_oe property
protected array $_params |
return |
array |
|