Function __global->_apply_emoticons

Definitions

sources/comcode_renderer.php

  • Get the text with all the emoticon codes replaced with the correct HTML. Emoticons are determined by your forum system.This is not used in the normal Comcode chain - it's for non-Comcode things that require emoticons (actually in reality it is used in the Comcode chain if the optimiser sees that a full parse is not needed).
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$text string required parameter N/A N/A The text to add emoticons to (assumption: that this is HTML)

Return

  • The HTML with the image-substitution of emoticons
  • Type: string
  • Set: N/A
  • Range: N/A