$api->requestData()
Getter for request data Can either get all the data or certain parts of it.
Parameters
Name | Type | Default |
---|---|---|
$type | string |
null |
$key | string |
null |
$default | mixed |
null |
Return type
mixed
Parent class
Kirby\Cms\Api
inherited from Kirby\Api\Api