Function Module_cms_downloads_cat->get_form_fields
Definitions
cms/pages/modules/cms_downloads.php
- Get Tempcode for a download category 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 download ID (null: new) |
$category | SHORT_TEXT | Blank (empty string) | N/A | N/A | The name of the download category |
$parent_id | ?AUTO_LINK | Null | N/A | N/A | The download category parent (null: use root) |
$description | LONG_TEXT | Blank (empty string) | N/A | N/A | Description |
$notes | LONG_TEXT | Blank (empty string) | N/A | N/A | Notes |
$category_id | ?AUTO_LINK | Null | N/A | N/A | The ID of the download category (null: we're adding, not editing) |
$rep_image | URLPATH | Blank (empty string) | N/A | N/A | The rep-image for the download category |
Return
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A