‪TYPO3CMS  ‪main
TYPO3\CMS\Scheduler\Service\TaskService Class Reference

Public Member Functions

 getAvailableTaskTypes ()

Private Member Functions

 getLanguageService ()

Detailed Description

Service class helping to retrieve data for EXT:scheduler

This is not a public API method, do not use in own extensions

Definition at line 26 of file TaskService.php.

Member Function Documentation

◆ getAvailableTaskTypes()

TYPO3\CMS\Scheduler\Service\TaskService::getAvailableTaskTypes ( )

This method fetches a list of all classes that have been registered with the Scheduler For each item the following information is provided, as an associative array:

['extension'] => Key of the extension which provides the class ['filename'] => Path to the file containing the class ['title'] => String (possibly localized) containing a human-readable name for the class ['provider'] => Name of class that implements the interface for additional fields, if necessary

The name of the class itself is used as the key of the list array

Definition at line 39 of file TaskService.php.

References $GLOBALS, and TYPO3\CMS\Scheduler\Service\TaskService\getLanguageService().

◆ getLanguageService()

TYPO3\CMS\Scheduler\Service\TaskService::getLanguageService ( )

Definition at line 56 of file TaskService.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Scheduler\Service\TaskService\getAvailableTaskTypes().