class smile


Located at : UKNOWVA_ROOT/components/com_kunena/lib/kunena.smile.class.php

Methods

smileParserCallback($fb_message, $history, $emoticons, $iconList = null)

No description

smileReplace($fb_message, $history, $emoticons, $iconList = null, $parent = null)

No description

array
getEmoticons(boolean $grayscale, boolean $emoticonbar)

function to retrieve the emoticons out of the database

purify($text)

No description

Details

at line 27
smileParserCallback($fb_message, $history, $emoticons, $iconList = null)

Parameters

$fb_message
$history
$emoticons
$iconList

at line 53
smileReplace($fb_message, $history, $emoticons, $iconList = null, $parent = null)

Parameters

$fb_message
$history
$emoticons
$iconList
$parent

at line 84
array getEmoticons(boolean $grayscale, boolean $emoticonbar)

function to retrieve the emoticons out of the database

Parameters

boolean $grayscale determines wether to return the grayscale or the ordinary emoticon
boolean $emoticonbar only list emoticons to be displayed in the emoticonbar (currently unused)

Return Value

array array consisting of emoticon codes and their respective location (NOT the entire img tag)

at line 110
purify($text)

Parameters

$text