Function Module_cms_downloads_alt->get_form_fields
Definitions
cms/pages/modules/cms_downloads.php
- Get Tempcode for a download adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $title | ID_TEXT | No | No | Blank (empty string) | N/A | N/A | The title of the licence |
| $text | LONG_TEXT | No | No | Blank (empty string) | N/A | N/A | The text of the licence |
Returns
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get Tempcode for a download adding/editing form.
*
* @param ID_TEXT $title The title of the licence
* @param LONG_TEXT $text The text of the licence
* @return array A pair: The input fields, Hidden fields
*/
public function get_form_fields(string $title = '', string $text = '') : array
* Get Tempcode for a download adding/editing form.
*
* @param ID_TEXT $title The title of the licence
* @param LONG_TEXT $text The text of the licence
* @return array A pair: The input fields, Hidden fields
*/
public function get_form_fields(string $title = '', string $text = '') : array
