TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Workspaces\Task\CleanupPreviewLinkTask Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Task\CleanupPreviewLinkTask:
TYPO3\CMS\Scheduler\Task\AbstractTask Tx_Workspaces_Service_CleanupPreviewLinkTask

Public Member Functions

 execute ()
 
- Public Member Functions inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
 __construct ()
 
 execute ()
 
 getAdditionalInformation ()
 
 setTaskUid ($id)
 
 getTaskUid ()
 
 getTaskTitle ()
 
 getTaskDescription ()
 
 getTaskClassName ()
 
 isDisabled ()
 
 setDisabled ($flag)
 
 setExecutionTime ($timestamp)
 
 getTaskGroup ()
 
 setTaskGroup ($taskGroup)
 
 getExecutionTime ()
 
 setDescription ($description)
 
 getDescription ()
 
 setScheduler ()
 
 unsetScheduler ()
 
 setExecution (\TYPO3\CMS\Scheduler\Execution $execution)
 
 getExecution ()
 
 getNextDueExecution ()
 
 areMultipleExecutionsAllowed ()
 
 isExecutionRunning ()
 
 markExecution ()
 
 unmarkExecution ($executionID, \Exception $failure=NULL)
 
 unmarkAllExecutions ()
 
 save ()
 
 stop ()
 
 remove ()
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
 $scheduler
 
 $taskUid
 
 $disabled = FALSE
 
 $execution
 
 $executionTime = 0
 
 $description = ''
 
 $taskGroup
 

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! This class provides a task to cleanup ol preview links.

Author
Timo Webler timo..nosp@m.webl.nosp@m.er@dk.nosp@m.d.de

Definition at line 21 of file CleanupPreviewLinkTask.php.

Member Function Documentation

◆ execute()

TYPO3\CMS\Workspaces\Task\CleanupPreviewLinkTask::execute ( )

Cleanup old preview links. endtime < $GLOBALS['EXEC_TIME']

Returns
boolean

Definition at line 29 of file CleanupPreviewLinkTask.php.

References $GLOBALS.