Function __global->apply_emoticons
Definitions
sources/comcode.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, provided in HTML format |
Return
- The HTML with the image-substitution of emoticons
- Type: string
- Set: N/A
- Range: N/A