TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ConfirmationFinisher Class Reference
Inheritance diagram for ConfirmationFinisher:
AbstractFinisher FinisherInterface

Protected Member Functions

 executeInternal ()
 
- Protected Member Functions inherited from AbstractFinisher
 executeInternal ()
 
 parseOption (string $optionName)
 
 getTypoScriptFrontendController ()
 

Protected Attributes

 $defaultOptions
 
- Protected Attributes inherited from AbstractFinisher
 $objectManager
 
 $finisherIdentifier = ''
 
 $options = []
 
 $defaultOptions = []
 
 $finisherContext
 

Additional Inherited Members

- Public Member Functions inherited from AbstractFinisher
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 setOptions (array $options)
 
 setOption (string $optionName, $optionValue)
 
 execute (FinisherContext $finisherContext)
 

Detailed Description

A simple finisher that outputs a given text

Options:

  • message: A hard-coded message to be rendered

Usage: //... $confirmationFinisher = $this->objectManager->get(ConfirmationFinisher::class); $confirmationFinisher->setOptions( [ 'message' => 'foo', ] ); $formDefinition->addFinisher($confirmationFinisher); // ...

Scope: frontend

Definition at line 40 of file ConfirmationFinisher.php.

Member Function Documentation

executeInternal ( )
protected

Executes this finisher

See also
AbstractFinisher::execute()
Returns
void
Exceptions
FinisherException

Definition at line 57 of file ConfirmationFinisher.php.

References AbstractFinisher\parseOption().

Member Data Documentation

$defaultOptions
protected
Initial value:
= [
'message' => 'The form has been submitted.'

Definition at line 46 of file ConfirmationFinisher.php.