WireInputData::get()
Get a value
Available since version 3.0.141. You can also get directly or use __get(), both of which are compatible with all versions
Usage
// basic usage
$string = $wireInputData->get(string $key);
// usage with all arguments
$string = $wireInputData->get(string $key, $options = []);Arguments
| Name | Type(s) | Description |
|---|---|---|
$key | string | |
$options (optional) | array int string | Options not currently used, but available for descending classes or future use |
Return value
string int float array null$value
WireInputData methods and properties
API reference based on ProcessWire core version 3.0.252