AbstractDataFeed implements DataFeedInterface
AbstractYes
Abstract data feed
Attributes
- #[AllowDynamicProperties]
Table of Contents
Interfaces
| DataFeedInterface | Data feed interface |
Properties
| $Html | |
| $errors |
Methods
| __construct() | Init |
| errors() | Retrieves any errors associated with the captcha |
| getOptionFields() | Gets a list of the options input fields |
| setErrors() | Sets the given errors |
Methods
__construct()
Init
public
__construct() : mixed
errors()
Retrieves any errors associated with the captcha
public
errors() : array<string|int, mixed>
Return values
array<string|int, mixed> —An array of errors
getOptionFields()
Gets a list of the options input fields
public
getOptionFields([array<string|int, mixed> $vars = [] ]) : InputFields
Parameters
- $vars : array<string|int, mixed> = []
-
An array containing the posted fields
Return values
InputFields —An object representing the list of input fields
setErrors()
Sets the given errors
protected
setErrors(array<string|int, mixed> $errors) : mixed
Parameters
- $errors : array<string|int, mixed>
-
An array of error messages in the format:
- ['name' => ['type' => 'Error Message']]