TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 __construct ()
 
 getTaskForType ($taskType, \TYPO3\CMS\Core\Resource\ProcessedFile $processedFile, array $processingConfiguration)
 

Protected Member Functions

 getClassForTaskType ($taskType)
 

Protected Attributes

 $registeredTaskTypes = array()
 

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! The registry for task types.

Definition at line 20 of file TaskTypeRegistry.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::__construct ( )

Register task types from configuration

Definition at line 30 of file TaskTypeRegistry.php.

References $GLOBALS.

Member Function Documentation

◆ getClassForTaskType()

TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::getClassForTaskType (   $taskType)
protected

Returns the class that implements the given task type.

Parameters
string$taskType
Returns
string

Definition at line 40 of file TaskTypeRegistry.php.

Referenced by TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry\getTaskForType().

◆ getTaskForType()

TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::getTaskForType (   $taskType,
\TYPO3\CMS\Core\Resource\ProcessedFile  $processedFile,
array  $processingConfiguration 
)
Parameters
string$taskType
\TYPO3\CMS\Core\Resource\ProcessedFile$processedFile
array$processingConfiguration
Returns
TaskInterface
Exceptions

Definition at line 51 of file TaskTypeRegistry.php.

References TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry\getClassForTaskType().

Member Data Documentation

◆ $registeredTaskTypes

TYPO3\CMS\Core\Resource\Processing\TaskTypeRegistry::$registeredTaskTypes = array()
protected

Definition at line 25 of file TaskTypeRegistry.php.