TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
FileStorageIndexingTask Class Reference
Inheritance diagram for FileStorageIndexingTask:
AbstractTask

Public Member Functions

 execute ()
 
- Public Member Functions inherited from 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 ()
 
 getType ()
 

Public Attributes

 $storageUid = -1
 
- Public Attributes inherited from AbstractTask
const TYPE_SINGLE = 1
 
const TYPE_RECURRING = 2
 

Protected Member Functions

 getIndexer (\TYPO3\CMS\Core\Resource\ResourceStorage $storage)
 

Additional Inherited Members

- Protected Attributes inherited from AbstractTask
 $scheduler
 
 $taskUid
 
 $disabled = false
 
 $execution
 
 $executionTime = 0
 
 $description = ''
 
 $taskGroup
 

Detailed Description

This task tries to find changes in storage and writes them back to DB

Definition at line 20 of file FileStorageIndexingTask.php.

Member Function Documentation

execute ( )

Function execute from the Scheduler

Returns
bool TRUE on successful execution, FALSE on error

Definition at line 34 of file FileStorageIndexingTask.php.

References FileStorageIndexingTask\getIndexer(), and ResourceFactory\getInstance().

getIndexer ( \TYPO3\CMS\Core\Resource\ResourceStorage  $storage)
protected

Gets the indexer

Parameters
\TYPO3\CMS\Core\Resource\ResourceStorage$storage
Returns

Definition at line 52 of file FileStorageIndexingTask.php.

Referenced by FileStorageIndexingTask\execute().

Member Data Documentation

$storageUid = -1

Definition at line 27 of file FileStorageIndexingTask.php.