All Commands
All Reference
Commands
REQUEST
Parameters are case sensitive, {REQUEST(foo)} will not return the variable from the URL example.com?FOO=bar.
Valid data_type options are,
- string
- clean_string
- integer
- numeric
- boolean
If the passed value does not match the specified data_type, the default value will be returned.
Note that for boolean - non-zero numbers, "t", "true", "y", "yes" and "on" (case insensitive) will return as "TRUE", otherwise "FALSE".
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | name | String | Request Name | |
2 | default | String | Default Value | |
3 | data_type | string | String | Required data type |