GovtNZ\SilverStripe\Api\ApiRequestSerialiser
The ApiRequestSerialiser breaks the incoming request into components which are used to construct the output.
Synopsis
class ApiRequestSerialiser
{
- // members
- private $formats = NULL;
- // methods
- public static void execute()
- private boolean formatSupported()
- private array|scalar getPaginationLimit()
- private boolean isActionValid()
- private boolean isNounValid()
- private boolean paramTypeMatch()
- private void parseRequestCase()
- private void parseRequestFields()
- private void parseRequestFormat()
- private boolean parseRequestLimit()
- private void parseRequestParams()
- private void parseRequestSort()
- private void parseRequestTest()
- private boolean parseRequestVars()
- private string parseRequestVerb()
Members
private
- $formats
Methods
private
- formatSupported()
- getPaginationLimit()
- isActionValid()
- isNounValid()
- paramTypeMatch() — Checks that the type of a submitted parameter value is correct
- parseRequestCase()
- parseRequestFields()
- parseRequestFormat()
- parseRequestLimit()
- parseRequestParams()
- parseRequestSort()
- parseRequestTest()
- parseRequestVars()
- parseRequestVerb()
public
- execute() — Entry function.