TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Controller\Wizard\AddController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\Wizard\AddController:
TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController TYPO3\CMS\Backend\Module\AbstractModule

Public Member Functions

 __construct ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractModule
 __construct ()
 
 processRequest (ServerRequestInterface $request, ResponseInterface $response)
 

Public Attributes

 $content
 
 $processDataFlag = 0
 
 $pid
 
 $table
 
 $id
 
 $P
 
 $returnEditConf
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Controller\Wizard\AbstractWizardController
 checkEditAccess ($table, $uid)
 
 getBackendUserAuthentication ()
 
 getLanguageService ()
 
 getDocumentTemplate ()
 
 getDatabaseConnection ()
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Backend\Module\AbstractModule
 $moduleTemplate
 
 $request
 

Detailed Description

Script Class for adding new items to a group/select field. Performs proper redirection as needed. Script is typically called after new child record was added and then adds the new child to select value of parent.

Definition at line 32 of file AddController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\Wizard\AddController::__construct ( )

Member Function Documentation

◆ init()

◆ mainAction()

TYPO3\CMS\Backend\Controller\Wizard\AddController::mainAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 164 of file AddController.php.

References TYPO3\CMS\Backend\Controller\Wizard\AddController\$id, TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Core\Utility\HttpUtility\redirect(), TYPO3\CMS\Core\Utility\GeneralUtility\removeXSS(), TYPO3\CMS\Core\Utility\GeneralUtility\sanitizeLocalUrl(), TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode(), and TYPO3\CMS\Core\Utility\GeneralUtility\xml2array().

Member Data Documentation

◆ $content

TYPO3\CMS\Backend\Controller\Wizard\AddController::$content

Definition at line 39 of file AddController.php.

◆ $id

TYPO3\CMS\Backend\Controller\Wizard\AddController::$id

◆ $P

TYPO3\CMS\Backend\Controller\Wizard\AddController::$P

Definition at line 74 of file AddController.php.

◆ $pid

TYPO3\CMS\Backend\Controller\Wizard\AddController::$pid

Definition at line 53 of file AddController.php.

◆ $processDataFlag

TYPO3\CMS\Backend\Controller\Wizard\AddController::$processDataFlag = 0

Definition at line 46 of file AddController.php.

◆ $returnEditConf

TYPO3\CMS\Backend\Controller\Wizard\AddController::$returnEditConf

Definition at line 81 of file AddController.php.

◆ $table

TYPO3\CMS\Backend\Controller\Wizard\AddController::$table

Definition at line 60 of file AddController.php.