Function Module_cms_catalogues_alt->get_form_fields
Definitions
cms/pages/modules/cms_catalogues.php
- Get Tempcode for a catalogue adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$name | ID_TEXT | Blank (empty string) | N/A | N/A | The name of the catalogue |
$title | SHORT_TEXT | Blank (empty string) | N/A | N/A | The human readable name/title of the catalogue |
$description | LONG_TEXT | Blank (empty string) | N/A | N/A | The description |
$display_type | SHORT_INTEGER | 0 | N/A | N/A | The display type |
$is_tree | BINARY | 1 | N/A | N/A | Whether the catalogue uses a hierarchy |
$notes | LONG_TEXT | Blank (empty string) | N/A | N/A | Admin notes |
$submit_points | integer | 0 | N/A | N/A | How many points are given to a member that submits to the catalogue |
$ecommerce | BINARY | 0 | N/A | N/A | Whether the catalogue is an eCommerce catalogue |
$categories_sort_order | SHORT_TEXT | title ASC | N/A | N/A | Category sort order |
$send_view_reports | ID_TEXT | never | N/A | N/A | How to send view reports |
$default_review_freq | ?integer | Null | N/A | N/A | Default review frequency for catalogue entries (null: none) |
Return
- A tuple: The input fields, Hidden fields, ...
- Type: array
- Set: N/A
- Range: N/A