‪TYPO3CMS  9.5
TYPO3\CMS\Backend\Controller\File\CreateFolderController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\File\CreateFolderController:
TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait

Public Member Functions

 __construct ()
 
ResponseInterface mainAction (ServerRequestInterface $request)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait
mixed __call (string $methodName, array $arguments)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
bool __isset (string $propertyName)
 
mixed __get (string $propertyName)
 
 __set (string $propertyName, $propertyValue)
 
 __unset (string $propertyName)
 

Protected Member Functions

 init (ServerRequestInterface $request)
 
 main ()
 
LanguageService getLanguageService ()
 

Protected Attributes

int $folderNumber = 10
 
string $title
 
int $number
 
string $target
 
TYPO3 CMS Core Resource Folder $folderObject
 
string $returnUrl
 
array $pathInfo
 
string $content
 
ModuleTemplate $moduleTemplate
 

Private Attributes

array $deprecatedPublicMethods
 
array $deprecatedPublicProperties
 

Detailed Description

Script class for the create-new script

Displays forms for creating folders (1 to 10), a media asset or a new file.

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 41 of file CreateFolderController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\File\CreateFolderController::__construct ( )

Member Function Documentation

◆ getLanguageService()

LanguageService TYPO3\CMS\Backend\Controller\File\CreateFolderController::getLanguageService ( )
protected

Returns LanguageService

Returns
‪LanguageService

Definition at line 298 of file CreateFolderController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Controller\File\CreateFolderController\init(), and TYPO3\CMS\Backend\Controller\File\CreateFolderController\main().

◆ init()

◆ main()

◆ mainAction()

ResponseInterface TYPO3\CMS\Backend\Controller\File\CreateFolderController::mainAction ( ServerRequestInterface  $request)

Processes the request, currently everything is handled and put together via "main()"

Parameters
ServerRequestInterface$request‪the current request
Returns
‪ResponseInterface the response with the content

Definition at line 127 of file CreateFolderController.php.

References TYPO3\CMS\Backend\Controller\File\CreateFolderController\main().

Member Data Documentation

◆ $content

string TYPO3\CMS\Backend\Controller\File\CreateFolderController::$content
protected

Accumulating content

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0, unused

Definition at line 103 of file CreateFolderController.php.

◆ $deprecatedPublicMethods

array TYPO3\CMS\Backend\Controller\File\CreateFolderController::$deprecatedPublicMethods
private
Initial value:
= array(
'main' => 'Using CreateFolderController::main() is deprecated and will not be possible anymore in TYPO3 v10.0.',
)

Definition at line 46 of file CreateFolderController.php.

◆ $deprecatedPublicProperties

array TYPO3\CMS\Backend\Controller\File\CreateFolderController::$deprecatedPublicProperties
private
Initial value:
= array(
'number' => 'Using $number of class CreateFolderController from outside is discouraged, as this variable is only used for internal storage.',
'folderNumber' => 'Using $folderNumber of class CreateFolderController from outside is discouraged, as this variable is only used for internal storage.',
'target' => 'Using $target of class CreateFolderController from outside is discouraged, as this variable is only used for internal storage.',
'content' => 'Using $content of class CreateFolderController from outside is discouraged, as this variable is only used for internal storage.',
'returnUrl' => 'Using $content of class CreateFolderController from outside is discouraged, as this variable is only used for internal storage.',
'title' => 'Using $content of class CreateFolderController from outside is discouraged, as this variable is only used for internal storage.',
)

Definition at line 52 of file CreateFolderController.php.

◆ $folderNumber

int TYPO3\CMS\Backend\Controller\File\CreateFolderController::$folderNumber = 10
protected

◆ $folderObject

TYPO3 CMS Core Resource Folder TYPO3\CMS\Backend\Controller\File\CreateFolderController::$folderObject
protected

The folder object which is the target directory

$folderObject

Definition at line 86 of file CreateFolderController.php.

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Backend\Controller\File\CreateFolderController::$moduleTemplate
protected

ModuleTemplate object

Definition at line 109 of file CreateFolderController.php.

◆ $number

int TYPO3\CMS\Backend\Controller\File\CreateFolderController::$number
protected

◆ $pathInfo

array TYPO3\CMS\Backend\Controller\File\CreateFolderController::$pathInfo
protected

◆ $returnUrl

string TYPO3\CMS\Backend\Controller\File\CreateFolderController::$returnUrl
protected

Return URL of list module.

Definition at line 92 of file CreateFolderController.php.

Referenced by TYPO3\CMS\Backend\Controller\File\CreateFolderController\main().

◆ $target

string TYPO3\CMS\Backend\Controller\File\CreateFolderController::$target
protected

Set with the target path inputted in &target

Definition at line 80 of file CreateFolderController.php.

Referenced by TYPO3\CMS\Backend\Controller\File\CreateFolderController\main().

◆ $title

string TYPO3\CMS\Backend\Controller\File\CreateFolderController::$title
protected

Name of the filemount

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0, unused

Definition at line 70 of file CreateFolderController.php.

Referenced by TYPO3\CMS\Backend\Controller\File\CreateFolderController\init().