public getParam ( string $name, mixed $defaultValue = null, boolean $useDefaultIfEmpty = false ) : mixed | ||
$name | string | the name of the request parameter |
$defaultValue | mixed | the default returned value if the parameter doesn't exists |
$useDefaultIfEmpty | boolean | true: says to return the default value if the parameter value is "" |
return | mixed | the request parameter value |