TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RedirectPostProcessor Class Reference
Inheritance diagram for RedirectPostProcessor:
AbstractPostProcessor PostProcessorInterface

Public Member Functions

 __construct (\TYPO3\CMS\Form\Domain\Model\Element $form, array $typoScript)
 
 process ()
 
- Public Member Functions inherited from AbstractPostProcessor
 setControllerContext (\TYPO3\CMS\Form\Mvc\Controller\ControllerContext $controllerContext)
 
- Public Member Functions inherited from PostProcessorInterface
 setControllerContext (\TYPO3\CMS\Form\Mvc\Controller\ControllerContext $controllerContext)
 

Protected Member Functions

 setDestination ()
 
 render ()
 

Protected Attributes

 $form
 
 $typoScript
 
 $destination
 
- Protected Attributes inherited from AbstractPostProcessor
 $controllerContext
 

Detailed Description

The redirect post-processor

Definition at line 20 of file RedirectPostProcessor.php.

Constructor & Destructor Documentation

__construct ( \TYPO3\CMS\Form\Domain\Model\Element  $form,
array  $typoScript 
)

Constructor

Parameters
\TYPO3\CMS\Form\Domain\Model\Element$formForm domain model
array$typoScriptPost processor TypoScript settings

Implements PostProcessorInterface.

Definition at line 43 of file RedirectPostProcessor.php.

References RedirectPostProcessor\$form, and RedirectPostProcessor\$typoScript.

Member Function Documentation

process ( )

The main method called by the post processor

Returns
string HTML message from this processor

Implements PostProcessorInterface.

Definition at line 54 of file RedirectPostProcessor.php.

References RedirectPostProcessor\render(), and RedirectPostProcessor\setDestination().

render ( )
protected

Redirect to a destination

Returns
void

Definition at line 79 of file RedirectPostProcessor.php.

Referenced by RedirectPostProcessor\process().

setDestination ( )
protected

Sets the redirect destination

Returns
void

Definition at line 65 of file RedirectPostProcessor.php.

References $GLOBALS.

Referenced by RedirectPostProcessor\process().

Member Data Documentation

$destination
protected

Definition at line 35 of file RedirectPostProcessor.php.

$form
protected

Definition at line 25 of file RedirectPostProcessor.php.

Referenced by RedirectPostProcessor\__construct().

$typoScript
protected

Definition at line 30 of file RedirectPostProcessor.php.

Referenced by RedirectPostProcessor\__construct().