argument Function

Returns the URL query string argument by name, or null if it does not exist.

Summary

ElementFunction
ReturnsString|Number

Arguments

nameString[required] The name of the argument.
typeStringThe data type of the argument, returns null if the type is incorrect.

Example

$this->argument('id','integer');