Filter/EmoticonReplacement.php

Show: inherited
Table of Contents

\Conjoon_Filter_EmoticonReplacement

Package: Conjoon\Filter

Parent(s)
?\Zend_Filter_Interface
Author
Thorsten Suckow-Homberg  
Category
Filter  

Properties

Propertyprivate  $_emoticonMap= 'array( 'O:-)' => 'O:-)', ':-)' => ':-)', ':)' => ':)', ':-D' => ':-D', ':D' => ':D', ':-(' => ':-(', ':(' => ':(', ':-[' => ':-[', ';-)' => ';-)', ';)' => ';)', ':-\\' => ':-\\', ':-P' => ':-P', ';-P' => ';-P', ':P' => ':P', '=-O' => '=-O', ':-*' => ':-*', ':*' => ':*', '>:o' => '>:o', '>:-o' => '>:-o', '8-)' => '8-)', ':-$' => ':-$', ':-!' => ':-!', ':\'(' => ':\'(', ':-X' => ':-X' )'
Default valuearray( 'O:-)' => 'O:-)', ':-)' => ':-)', ':)' => ':)', ':-D' => ':-D', ':D' => ':D', ':-(' => ':-(', ':(' => ':(', ':-[' => ':-[', ';-)' => ';-)', ';)' => ';)', ':-\\' => ':-\\', ':-P' => ':-P', ';-P' => ';-P', ':P' => ':P', '=-O' => '=-O', ':-*' => ':-*', ':*' => ':*', '>:o' => '>:o', '>:-o' => '>:-o', '8-)' => '8-)', ':-$' => ':-$', ':-!' => ':-!', ':\'(' => ':\'(', ':-X' => ':-X' )Details
Type
n/a

Methods

methodpublic__construct(  $emoticonMap = array() ) : void

Parameters
Name Type Description
$emoticonMap
methodpublicfilter( mixed $value ) : string

Defined by Zend_Filter_Interface

Returns the text h all ascii-emoticons replaced as defined in $_emoticonMap with their corresponding values.

Parameters
Name Type Description
$value mixed
Returns
Type Description
string
Documentation was generated by DocBlox 0.18.1.