FormHelper.php
Table of Contents
Functions
- isFormEncoded() : bool
- Determines if the request body contains form data ($_POST)
- getFormFields() : array<string|int, mixed>
- Returns the form fields of the current request
Functions
isFormEncoded()
Determines if the request body contains form data ($_POST)
isFormEncoded(string $body) : bool
Parameters
- $body : string
-
The request body
Return values
boolgetFormFields()
Returns the form fields of the current request
getFormFields(string $body) : array<string|int, mixed>
Parameters
- $body : string