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 26th April 2024 20:05 Europe/London time based on the source file dated 26th April 2024 15:50 Europe/London time.