JInput::def
Define a value. The value will only be set if there's no value for the name or if it is null.
Signature
public function def(string
$name,
mixed
$value )
Parameters
-
$name
- Name of the value to define.
-
$value
- Value to assign to the input.
Returns
- void