TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\View\Mail\MailView Class Reference
Inheritance diagram for TYPO3\CMS\Form\View\Mail\MailView:
tx_form_View_Mail

Public Member Functions

 __construct (\TYPO3\CMS\Core\Mail\MailMessage $mailMessage, array $typoScript)
 
 render ()
 

Public Attributes

const LOCALISATION_OBJECT_NAME = 'tx_form_view_mail'
 

Protected Member Functions

 success ()
 
 error ()
 
 makeContentObject ($isSent)
 
 getLocalLanguageLabel ($type)
 

Protected Attributes

 $mailMessage
 
 $typoScript = array()
 
 $localizationHandler
 
 $localCobj
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Main view layer for Forms.

Author
Patrick Broens patri.nosp@m.ck@p.nosp@m.atric.nosp@m.kbro.nosp@m.ens.n.nosp@m.l

Definition at line 22 of file MailView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Form\View\Mail\MailView::__construct ( \TYPO3\CMS\Core\Mail\MailMessage  $mailMessage,
array  $typoScript 
)

Member Function Documentation

◆ error()

TYPO3\CMS\Form\View\Mail\MailView::error ( )
protected

Error

Returns
string

Definition at line 92 of file MailView.php.

References TYPO3\CMS\Form\View\Mail\MailView\makeContentObject().

Referenced by TYPO3\CMS\Form\View\Mail\MailView\render().

◆ getLocalLanguageLabel()

TYPO3\CMS\Form\View\Mail\MailView::getLocalLanguageLabel (   $type)
protected

Get the local language label(s) for the message In some cases this method will be override by rule class

Parameters
string$typeThe type
Returns
string The local language message label

Definition at line 136 of file MailView.php.

Referenced by TYPO3\CMS\Form\View\Mail\MailView\makeContentObject().

◆ makeContentObject()

TYPO3\CMS\Form\View\Mail\MailView::makeContentObject (   $isSent)
protected

◆ render()

TYPO3\CMS\Form\View\Mail\MailView::render ( )

◆ success()

TYPO3\CMS\Form\View\Mail\MailView::success ( )
protected

Success

Returns
string

Definition at line 83 of file MailView.php.

References TYPO3\CMS\Form\View\Mail\MailView\makeContentObject().

Referenced by TYPO3\CMS\Form\View\Mail\MailView\render().

Member Data Documentation

◆ $localCobj

TYPO3\CMS\Form\View\Mail\MailView::$localCobj
protected

Definition at line 57 of file MailView.php.

◆ $localizationHandler

TYPO3\CMS\Form\View\Mail\MailView::$localizationHandler
protected

Definition at line 50 of file MailView.php.

◆ $mailMessage

TYPO3\CMS\Form\View\Mail\MailView::$mailMessage
protected

Definition at line 36 of file MailView.php.

Referenced by TYPO3\CMS\Form\View\Mail\MailView\__construct().

◆ $typoScript

TYPO3\CMS\Form\View\Mail\MailView::$typoScript = array()
protected

Definition at line 43 of file MailView.php.

Referenced by TYPO3\CMS\Form\View\Mail\MailView\__construct().

◆ LOCALISATION_OBJECT_NAME

const TYPO3\CMS\Form\View\Mail\MailView::LOCALISATION_OBJECT_NAME = 'tx_form_view_mail'

Definition at line 29 of file MailView.php.