TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\View\Mail\Html\HtmlView Class Reference
Inheritance diagram for TYPO3\CMS\Form\View\Mail\Html\HtmlView:
TYPO3\CMS\Form\View\Mail\Html\Element\ContainerElementView TYPO3\CMS\Form\View\Mail\Html\Element\AbstractElementView tx_form_View_Mail_Html

Public Member Functions

 __construct (\TYPO3\CMS\Form\Domain\Model\Form $model, array $typoscript)
 
 setData (\TYPO3\CMS\Form\Domain\Model\Form $model)
 
 get ()
 
- Public Member Functions inherited from TYPO3\CMS\Form\View\Mail\Html\Element\ContainerElementView
 getChildElements (\DOMDocument $dom)
 
 createChildElementFromModel ($modelChild)
 
- Public Member Functions inherited from TYPO3\CMS\Form\View\Mail\Html\Element\AbstractElementView
 __construct ($model)
 
 render ($type='element', $returnFirstChild=TRUE)
 
 replaceNodeWithFragment (\DOMDocument $dom, \DOMNode $node, \DOMNode $value)
 
 setAttributes (\DOMElement $domElement)
 
 setAttribute (\DOMElement $domElement, $key)
 
 setAttributeWithValueofOtherAttribute (\DOMElement $domElement, $key, $other)
 
 getAdditional ($key)
 
 getInputValue ()
 
 getElementWrapId ()
 
 getElementWrapType ()
 
 getElementWraps ()
 
 noWrap ()
 

Protected Attributes

 $layout
 
 $typoscript = array()
 
 $localizationHandler
 
 $localCobj
 
- Protected Attributes inherited from TYPO3\CMS\Form\View\Mail\Html\Element\ContainerElementView
 $containerWrap
 
- Protected Attributes inherited from TYPO3\CMS\Form\View\Mail\Html\Element\AbstractElementView
 $model
 
 $elementWrap
 
 $noWrap = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Form\View\Mail\Html\Element\AbstractElementView
 parseXML (\DOMDocument $dom, \DOMNode $reference, $emptyElement=FALSE)
 
 createAdditional ($class)
 

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 HtmlView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Form\View\Mail\Html\HtmlView::__construct ( \TYPO3\CMS\Form\Domain\Model\Form  $model,
array  $typoscript 
)

Member Function Documentation

◆ get()

TYPO3\CMS\Form\View\Mail\Html\HtmlView::get ( )

Start the main DOMdocument for the form Return it as a string using saveXML() to get a proper formatted output (when using formatOutput :-)

Returns
string XHTML string containing the whole form

Definition at line 90 of file HtmlView.php.

References TYPO3\CMS\Form\View\Mail\Html\Element\AbstractElementView\render().

◆ setData()

TYPO3\CMS\Form\View\Mail\Html\HtmlView::setData ( \TYPO3\CMS\Form\Domain\Model\Form  $model)

Set the data for the FORM tag

Parameters
\TYPO3\CMS\Form\Domain\Model\Form$modelThe model of the form
Returns
void

Definition at line 79 of file HtmlView.php.

Member Data Documentation

◆ $layout

TYPO3\CMS\Form\View\Mail\Html\HtmlView::$layout
protected
Initial value:
= '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<table cellspacing="0">
<containerWrap />
</table>
</body>
</html>
'

Definition at line 29 of file HtmlView.php.

◆ $localCobj

TYPO3\CMS\Form\View\Mail\Html\HtmlView::$localCobj
protected

Definition at line 61 of file HtmlView.php.

◆ $localizationHandler

TYPO3\CMS\Form\View\Mail\Html\HtmlView::$localizationHandler
protected

Definition at line 54 of file HtmlView.php.

◆ $typoscript

TYPO3\CMS\Form\View\Mail\Html\HtmlView::$typoscript = array()
protected

Definition at line 47 of file HtmlView.php.

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