‪TYPO3CMS  ‪main
TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider Class Reference

Public Member Functions

 __construct ()
 
 getItem (SystemInformationToolbarCollectorEvent $event)
 

Protected Attributes

array $lastRunInformation = []
 

Private Member Functions

 schedulerWasExecuted ()
 
 lastRunInfoExists ()
 
 hasConfiguredTasks ()
 
 getLanguageService ()
 

Detailed Description

Event listener to display information about last automated run, as stored in the system registry.

Definition at line 33 of file ToolbarItemProvider.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider::__construct ( )

Gather initial information

Definition at line 43 of file ToolbarItemProvider.php.

Member Function Documentation

◆ getItem()

◆ getLanguageService()

TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider::getLanguageService ( )
private

◆ hasConfiguredTasks()

TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider::hasConfiguredTasks ( )
private

See if there are any tasks configured at all.

Definition at line 123 of file ToolbarItemProvider.php.

Referenced by TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider\getItem().

◆ lastRunInfoExists()

TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider::lastRunInfoExists ( )
private

Check if the last scheduler run array contains all information

Definition at line 113 of file ToolbarItemProvider.php.

Referenced by TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider\getItem().

◆ schedulerWasExecuted()

TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider::schedulerWasExecuted ( )
private

Check whether the scheduler was already executed

Definition at line 105 of file ToolbarItemProvider.php.

Referenced by TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider\getItem().

Member Data Documentation

◆ $lastRunInformation

array TYPO3\CMS\Scheduler\SystemInformation\ToolbarItemProvider::$lastRunInformation = []
protected

Scheduler last run registry information

Definition at line 38 of file ToolbarItemProvider.php.