Function Module_cms_banners_cat->get_form_fields
Definitions
cms/pages/modules/cms_banners.php
- Get Tempcode for a Post Template adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$id | ?ID_TEXT | Null | N/A | N/A | The ID of the banner type (null: new) |
$is_textual | BINARY | 0 | N/A | N/A | Whether this is a textual banner |
$image_width | integer | 160 | N/A | N/A | The image width (ignored for textual banners) |
$image_height | integer | 600 | N/A | N/A | The image height (ignored for textual banners) |
$max_file_size | integer | 250 | N/A | N/A | The maximum file size for the banners (this is a string length for textual banners) |
$comcode_inline | BINARY | 0 | N/A | N/A | Whether the banner will be automatically shown via Comcode hot-text (this can only happen if banners of the title are given title-text) |
Return
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A