Function __global->handle_max_file_size
Definitions
sources/form_templates.php
- Insert hidden data for the maximum file size of form fields.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| &$hidden | Tempcode | Yes | No | required parameter | N/A | N/A | Hidden fields |
| $regular_max_size_type | ID_TEXT | No | No | file | image file | N/A | Code representing the media types we are using limits for |
Preview
Code (PHP)
/**
* Insert hidden data for the maximum file size of form fields.
*
* @param Tempcode $hidden Hidden fields
* @param ID_TEXT $regular_max_size_type Code representing the media types we are using limits for
* @set image file
*/
function handle_max_file_size(object &$hidden, string $regular_max_size_type = 'file')
* Insert hidden data for the maximum file size of form fields.
*
* @param Tempcode $hidden Hidden fields
* @param ID_TEXT $regular_max_size_type Code representing the media types we are using limits for
* @set image file
*/
function handle_max_file_size(object &$hidden, string $regular_max_size_type = 'file')

