protected function _emoticonCallback($matches) {
        $smiley = trim($matches[0]);

        if (count($matches) === 1 || !$this->hasSmiley($smiley)) {
            return $matches[0];
        }

        return $this->render($smiley, $this->getParser()->getConfig('xhtmlOutput'));
    }
protected function _emoticonCallback($matches) {
        $smiley = trim($matches[0]);

        if (count($matches) === 1 || !$this->hasSmiley($smiley)) {
            return $matches[0];
        }

        return $this->render($smiley, $this->getParser()->getConfig('xhtmlOutput'));
    }
protected function _emoticonCallback ( $ matches ) { $ smiley = trim ( $ matches [ 0 ] ) ; if ( count ( $ matches ) === 1 || ! $ this -> hasSmiley ( $ smiley ) ) { return $ matches [ 0 ] ; } return $ this -> render ( $ smiley , $ this -> getParser ( ) -> getConfig ( 'xhtmlOutput' ) ) ; }
Callback for smiley processing.

@param array $matches
@return string
Callback for smiley processing .