Function __global->post_param_integer
Definitions
sources/global2.php
- This function is the integeric partner of post_param_string, as it returns the value as an integer.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$name | ID_TEXT | required parameter | N/A | N/A | The name of the parameter to get |
$default | ~?mixed | False | N/A | N/A | The default value to give the parameter if the parameter value is not defined or the empty string (null: allow missing parameter) (false: give error on missing parameter) |
$filters | integer | 7871 | N/A | N/A | A bitmask of INPUT_FILTER_* filters |
Return
- The parameter value (null: not set, and null given as default)
- Type: ?integer
- Set: N/A
- Range: N/A
sources/minikernel.php
- This function is the integeric partner of post_param_string, as it returns the value as an integer.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$name | ID_TEXT | required parameter | N/A | N/A | The name of the parameter to get |
$default | ?~mixed | False | N/A | N/A | The default value to use for the parameter (null: no default) (false: give error on missing parameter) |
Return
- The parameter value (null: not found and default was null)
- Type: ?integer
- Set: N/A
- Range: N/A