Function Forum_driver_smf2->get_emoticon_chooser
Definitions
sources/forum/smf2.php
- Get an emoticon chooser template.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$field_name | string | No | No | post | N/A | N/A | The ID of the form field the emoticon chooser adds to |
Returns
- The emoticon chooser template
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get an emoticon chooser template.
*
* @param string $field_name The ID of the form field the emoticon chooser adds to
* @return Tempcode The emoticon chooser template
*/
public function get_emoticon_chooser(string $field_name = 'post') : object
* Get an emoticon chooser template.
*
* @param string $field_name The ID of the form field the emoticon chooser adds to
* @return Tempcode The emoticon chooser template
*/
public function get_emoticon_chooser(string $field_name = 'post') : object