Function __global->render_poll_box
Definitions
sources/polls.php
- Show an actual poll box.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$results | boolean | required parameter | N/A | N/A | Whether to show results (if we've already voted, this will be overridden) |
$myrow | array | required parameter | N/A | N/A | The poll row |
$zone | ID_TEXT | _SEARCH | N/A | N/A | The zone our poll module is in |
$include_manage_links | boolean | False | N/A | N/A | Whether to include extra management links (e.g. editing, choosing, archive, etc) |
$give_context | boolean | True | N/A | N/A | Whether to include context (i.e. say WHAT this is, not just show the actual content) |
$guid | ID_TEXT | Blank (empty string) | N/A | N/A | Overridden GUID to send to templates (blank: none) |
Return
- The box
- Type: Tempcode
- Set: N/A
- Range: N/A