Function Module_admin_awards->get_form_fields
Definitions
adminzone/pages/modules/admin_awards.php
- Get Tempcode for adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$id | ?AUTO_LINK | Null | N/A | N/A | The ID of the award (null: not added yet) |
$title | SHORT_TEXT | Blank (empty string) | N/A | N/A | The title |
$description | LONG_TEXT | Blank (empty string) | N/A | N/A | The description |
$points | integer | 0 | N/A | N/A | How many points are given to the awardee |
$content_type | ID_TEXT | download | N/A | N/A | The content type the award type is for |
$show_awardee | ?BINARY | Null | N/A | N/A | Whether to show the awardee when displaying this award (null: statistical default) |
$update_interval_hours | integer | 168 | N/A | N/A | The approximate time in hours between awards (e.g. 168 for a week) |
Return
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A