Function Hook_import_mybb->convert_topic_emoticon

Definitions

sources/hooks/modules/admin_import/mybb.php

  • Convert a MyBB topic icon code into a standard software theme image code.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$iconid integer No No required parameter N/A N/A VB code

Returns

  • Software code
  • Type: ID_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert a MyBB topic icon code into a standard software theme image code.
 *
 * @param  integer $iconid VB code
 * @return ID_TEXT Software code
 */

public function convert_topic_emoticon(int $iconid) : string