Page
extends Form
in package
implements
InputFilterProviderInterface
Tags
Table of Contents
Interfaces
- InputFilterProviderInterface
Properties
- $currentCategory : FrontpageLocalisedText|null
- $currentName : FrontpageLocalisedText|null
- $currentSubCategory : FrontpageLocalisedText|null
- $pageMapper : Page
- $translator : Translator
Methods
- __construct() : mixed
- getInputFilterSpecification() : array<string|int, mixed>
- Should return an array specification compatible with {@link \Laminas\InputFilter\Factory::createInputFilter()}.
- isValid() : bool
- setCurrentValues() : void
Properties
$currentCategory
private
FrontpageLocalisedText|null
$currentCategory
= null
$currentName
private
FrontpageLocalisedText|null
$currentName
= null
$currentSubCategory
private
FrontpageLocalisedText|null
$currentSubCategory
= null
$pageMapper read-only
private
Page
$pageMapper
$translator read-only
private
Translator
$translator
Methods
__construct()
public
__construct(Translator $translator, Page $pageMapper) : mixed
Parameters
- $translator : Translator
- $pageMapper : Page
getInputFilterSpecification()
Should return an array specification compatible with {@link \Laminas\InputFilter\Factory::createInputFilter()}.
public
getInputFilterSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed>isValid()
public
isValid() : bool
Return values
boolsetCurrentValues()
public
setCurrentValues(FrontpageLocalisedText $currentCategory, FrontpageLocalisedText $currentSubCategory, FrontpageLocalisedText $currentName) : void
Parameters
- $currentCategory : FrontpageLocalisedText
- $currentSubCategory : FrontpageLocalisedText
- $currentName : FrontpageLocalisedText