CustomFormSendDataParametersGroup
extends ParametersGroup
in package
This is the form model (send custom form data resource) parameters group class.
Table of Contents
$fields | : array<string|int, mixed> | |
---|---|---|
$url | : string | |
$validator | : ParametersValidator | |
addField() | Adds a new field to the array of fields for this parameters group. | : void |
setFields() | Sets an array of fields as a parameter for this parameters group. | : void |
setUrl() | Sets the send data url parameter for this parameters group. | : void |
toArray() | Returns the object data on array format. | : array<string|int, mixed> |
filter() | : array<string|int, mixed> | |
getInstantiatedValidator() | : ParametersValidator | |
getValidator() | : CustomFormSendDataParametersValidator |
Properties
$fields
protected
array<string|int, mixed>
$fields
$url
protected
string
$url
$validator
protected
ParametersValidator
$validator
Methods
addField()
Adds a new field to the array of fields for this parameters group.
public
addField(CustomFormSendDataFieldParametersGroup $field) : void
Parameters
Return values
void —setFields()
Sets an array of fields as a parameter for this parameters group.
public
setFields(array<string|int, CustomFormSendDataFieldParametersGroup> $fields) : void
Parameters
- $fields : array<string|int, CustomFormSendDataFieldParametersGroup>
Return values
void —setUrl()
Sets the send data url parameter for this parameters group.
public
setUrl(string $url) : void
Parameters
- $url : string
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : CustomFormSendDataParametersValidator