EditBasketCustomTagsParametersGroup
extends ParametersGroup
in package
This is the basket model (edit custom tags) parameters group class.
Table of Contents
$customTags | : array<string|int, mixed> | |
---|---|---|
$validator | : ParametersValidator | |
addCustomTag() | Adds a new custom tag to the array of custom tags for this parameters group. | : void |
setCustomTags() | Sets an array of custom tags as a 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() | : EditBasketCustomTagsParametersValidator |
Properties
$customTags
protected
array<string|int, mixed>
$customTags
$validator
protected
ParametersValidator
$validator
Methods
addCustomTag()
Adds a new custom tag to the array of custom tags for this parameters group.
public
addCustomTag(EditBasketCustomTagParametersGroup $customTag) : void
Parameters
- $customTag : EditBasketCustomTagParametersGroup
Return values
void —setCustomTags()
Sets an array of custom tags as a parameter for this parameters group.
public
setCustomTags(array<string|int, EditBasketCustomTagParametersGroup> $customTags) : void
Parameters
- $customTags : array<string|int, EditBasketCustomTagParametersGroup>
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() : EditBasketCustomTagsParametersValidator