Function __global->_helper_apply_emoticons

Definitions

sources/cns_forum_driver_helper.php

  • Get a map between emoticon codes and templates representing the HTML-image-code for this emoticon. The emoticons presented of course depend on the forum involved.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$this_ref object No No required parameter N/A N/A Link to the real forum driver
$member_id ?MEMBER No No Null N/A N/A Only emoticons the given member can see (null: don't care)

Returns

  • The map
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a map between emoticon codes and templates representing the HTML-image-code for this emoticon. The emoticons presented of course depend on the forum involved.
 *
 * @param  object $this_ref Link to the real forum driver
 * @param  ?MEMBER $member_id Only emoticons the given member can see (null: don't care)
 * @return array The map
 */

function _helper_apply_emoticons(object $this_ref, ?int $member_id = null) : array