Function __global->cns_edit_emoticon
Definitions
sources/cns_general_action2.php
- Edit an emoticon.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $old_code | SHORT_TEXT | No | No | required parameter | N/A | N/A | The textual code entered to make the emoticon appear |
| $code | SHORT_TEXT | No | No | required parameter | N/A | N/A | The old textual code |
| $theme_img_code | ID_TEXT | No | No | required parameter | N/A | N/A | The image code used for the emoticon |
| $relevance_level | integer | No | No | required parameter | N/A | 0 4 | The relevance level |
| $use_topics | BINARY | No | No | required parameter | N/A | N/A | Whether this may be used as a topic emoticon |
| $is_special | BINARY | No | No | 0 | N/A | N/A | Whether this may only be used by privileged members |
Preview
Code (PHP)
/**
* Edit an emoticon.
*
* @param SHORT_TEXT $old_code The textual code entered to make the emoticon appear
* @param SHORT_TEXT $code The old textual code
* @param ID_TEXT $theme_img_code The image code used for the emoticon
* @param integer $relevance_level The relevance level
* @range 0 4
* @param BINARY $use_topics Whether this may be used as a topic emoticon
* @param BINARY $is_special Whether this may only be used by privileged members
*/
function cns_edit_emoticon(string $old_code, string $code, string $theme_img_code, int $relevance_level, int $use_topics, int $is_special = 0)
* Edit an emoticon.
*
* @param SHORT_TEXT $old_code The textual code entered to make the emoticon appear
* @param SHORT_TEXT $code The old textual code
* @param ID_TEXT $theme_img_code The image code used for the emoticon
* @param integer $relevance_level The relevance level
* @range 0 4
* @param BINARY $use_topics Whether this may be used as a topic emoticon
* @param BINARY $is_special Whether this may only be used by privileged members
*/
function cns_edit_emoticon(string $old_code, string $code, string $theme_img_code, int $relevance_level, int $use_topics, int $is_special = 0)

