TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\View\Wizard\WizardView Class Reference
Inheritance diagram for TYPO3\CMS\Form\View\Wizard\WizardView:
TYPO3\CMS\Form\View\Wizard\AbstractWizardView tx_form_View_Wizard_Wizard

Public Member Functions

 __construct (\TYPO3\CMS\Form\Domain\Repository\ContentRepository $repository)
 
 render ()
 
- Public Member Functions inherited from TYPO3\CMS\Form\View\Wizard\AbstractWizardView
 __construct (\TYPO3\CMS\Form\Domain\Repository\ContentRepository $repository)
 
 setRepository (\TYPO3\CMS\Form\Domain\Repository\ContentRepository $repository)
 
 render ()
 

Public Attributes

 $doc
 

Protected Member Functions

 loadJavascript ()
 
 loadCss ()
 
 loadSettings ()
 
 loadLocalization ()
 
 callRenderHook ()
 
 removeTrailingDotsFromTyposcript (array &$array)
 
 getButtons ()
 

Protected Attributes

 $pageRenderer
 
- Protected Attributes inherited from TYPO3\CMS\Form\View\Wizard\AbstractWizardView
 $recordIsAvailable = FALSE
 
 $repository
 

Detailed Description

The form wizard view

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

Definition at line 24 of file WizardView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Form\View\Wizard\WizardView::__construct ( \TYPO3\CMS\Form\Domain\Repository\ContentRepository  $repository)

Constructs this view

Defines the global variable SOBE. Normally this is used by the wizards which are one file only. This view is now the class with the global variable name SOBE.

Defines the document template object.

Parameters
\TYPO3\CMS\Form\Domain\Repository\ContentRepository$repository
See also

Definition at line 52 of file WizardView.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Function Documentation

◆ callRenderHook()

TYPO3\CMS\Form\View\Wizard\WizardView::callRenderHook ( )
protected

Hook to extend the wizard interface.

The hook is called just before content rendering. Use it by adding your function to the array $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['form']['hooks']['renderWizard']

Returns
void

Definition at line 275 of file WizardView.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\callUserFunction().

Referenced by TYPO3\CMS\Form\View\Wizard\WizardView\render().

◆ getButtons()

TYPO3\CMS\Form\View\Wizard\WizardView::getButtons ( )
protected

Create the panel of buttons for submitting the form or otherwise perform operations.

Returns
array all available buttons as an assoc. array

Definition at line 309 of file WizardView.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\_GP(), and TYPO3\CMS\Backend\Utility\BackendUtility\cshItem().

Referenced by TYPO3\CMS\Form\View\Wizard\WizardView\render().

◆ loadCss()

TYPO3\CMS\Form\View\Wizard\WizardView::loadCss ( )
protected

Load the necessarry css

This will only be done when the referenced record is available

Returns
void

Definition at line 225 of file WizardView.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extRelPath().

Referenced by TYPO3\CMS\Form\View\Wizard\WizardView\render().

◆ loadJavascript()

TYPO3\CMS\Form\View\Wizard\WizardView::loadJavascript ( )
protected

Load the necessarry javascript

This will only be done when the referenced record is available

Returns
void

Definition at line 108 of file WizardView.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extRelPath().

Referenced by TYPO3\CMS\Form\View\Wizard\WizardView\render().

◆ loadLocalization()

TYPO3\CMS\Form\View\Wizard\WizardView::loadLocalization ( )
protected

Reads locallang file into array (for possible include in header)

Returns
void

Definition at line 260 of file WizardView.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

Referenced by TYPO3\CMS\Form\View\Wizard\WizardView\render().

◆ loadSettings()

TYPO3\CMS\Form\View\Wizard\WizardView::loadSettings ( )
protected

Load the settings

The settings are defined in pageTSconfig mod.wizards.form

Returns
void

Definition at line 246 of file WizardView.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getModTSconfig(), and TYPO3\CMS\Form\View\Wizard\WizardView\removeTrailingDotsFromTyposcript().

Referenced by TYPO3\CMS\Form\View\Wizard\WizardView\render().

◆ removeTrailingDotsFromTyposcript()

TYPO3\CMS\Form\View\Wizard\WizardView::removeTrailingDotsFromTyposcript ( array &  $array)
protected

Remove the trailing dots from the values in Typoscript

Parameters
array$arrayThe array with the trailing dots
Returns
void

Definition at line 290 of file WizardView.php.

Referenced by TYPO3\CMS\Form\View\Wizard\WizardView\loadSettings().

◆ render()

Member Data Documentation

◆ $doc

TYPO3\CMS\Form\View\Wizard\WizardView::$doc

Definition at line 33 of file WizardView.php.

◆ $pageRenderer

TYPO3\CMS\Form\View\Wizard\WizardView::$pageRenderer
protected

Definition at line 38 of file WizardView.php.