Function Module_topics->add_poll
Definitions
forum/pages/modules/topics.php
- The UI to add a poll.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$topic_id | ?AUTO_LINK | Null | N/A | N/A | The topic ID to add the poll to (null: we are adding a new topic at the same time, it's in the POST environment already and will be relayed to _add_poll) |
Return
- The UI
- Type: Tempcode
- Set: N/A
- Range: N/A