Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

getval()

Description

Retrieve a user-submitted parameter from the browser via post/get/cookies, in that order.

Parameters

ColumnTypeDefaultDescription
$param string The parameter name
$default string A default value to return if no matching parameter was found
$force_numeric boolean false Ensure a number is returned. (DEPRECATED)
$type_check callable null Validate param type. Default is to check param values are strings.

This article was last updated 14th July 2024 16:35 Europe/London time based on the source file dated 10th July 2024 11:45 Europe/London time.