AssetParametersGroup
extends ParametersGroup
in package
This is the asset model parameters group class.
Table of Contents
$pageType | : string | |
---|---|---|
$routeType | : string | |
$validator | : ParametersValidator | |
setPageType() | Sets the pageType parameter for this parameters group. | : void |
setRouteType() | Sets the routeType 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() | : AssetParametersValidator |
Properties
$pageType
protected
string
$pageType
$routeType
protected
string
$routeType
$validator
protected
ParametersValidator
$validator
Methods
setPageType()
Sets the pageType parameter for this parameters group.
public
setPageType(string $pageType) : void
Parameters
- $pageType : string
Return values
void —setRouteType()
Sets the routeType parameter for this parameters group.
public
setRouteType(string $routeType) : void
Parameters
- $routeType : 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() : AssetParametersValidator