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

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 wrapper around the autopublication mechanism of workspaces, as a Scheduler task

Author
Workspaces Team (http://forge.typo3.org/projects/show/typo3v4-workspaces)

Definition at line 22 of file AutoPublishTask.php.

Member Function Documentation

◆ execute()

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

Method executed from the Scheduler. Call on the workspace logic to publish workspaces whose publication date is in the past

Returns
boolean

Definition at line 31 of file AutoPublishTask.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().