Function Module_cms_catalogues_cat->get_form_fields
Definitions
cms/pages/modules/cms_catalogues.php
- Get Tempcode for a catalogue category adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$catalogue_name | ?ID_TEXT | Null | N/A | N/A | The name of the catalogue the category is in (null: detect) |
$title | SHORT_TEXT | Blank (empty string) | N/A | N/A | The title of the category |
$description | LONG_TEXT | Blank (empty string) | N/A | N/A | Description for the category |
$notes | LONG_TEXT | Blank (empty string) | N/A | N/A | Admin notes |
$parent_id | ?AUTO_LINK | -1 | N/A | N/A | The ID of the parent category (null: no parent) (-1: arbitrary default) |
$id | ?AUTO_LINK | Null | N/A | N/A | The ID of this category (null: we're adding, not editing) |
$rep_image | URLPATH | Blank (empty string) | N/A | N/A | The rep-image for the catalogue category |
$move_days_lower | integer | 30 | N/A | N/A | The number of days before expiry (lower limit) |
$move_days_higher | integer | 60 | N/A | N/A | The number of days before expiry (higher limit) |
$move_target | ?AUTO_LINK | Null | N/A | N/A | The expiry category (null: do not expire) |
Return
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A