‪TYPO3CMS  ‪main
TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask Class Reference
Inheritance diagram for TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask:
TYPO3\CMS\Scheduler\Task\AbstractTask

Public Member Functions

bool execute ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
 __construct ()
 
string getAdditionalInformation ()
 
 setTaskUid ($id)
 
int getTaskUid ()
 
string getTaskTitle ()
 
string getTaskDescription ()
 
string getTaskClassName ()
 
bool isDisabled ()
 
 setDisabled ($flag)
 
 setRunOnNextCronJob ($flag)
 
bool getRunOnNextCronJob ()
 
 setExecutionTime ($timestamp)
 
int null getTaskGroup ()
 
 setTaskGroup ($taskGroup)
 
int getExecutionTime ()
 
 setDescription ($description)
 
string getDescription ()
 
 setScheduler ()
 
 unsetScheduler ()
 
 registerSingleExecution ($timestamp)
 
 registerRecurringExecution ($start, $interval, $end=0, $multiple=false, $cron_cmd='')
 
 setExecution (Execution $execution)
 
Execution object null getExecution ()
 
int getNextDueExecution ()
 
bool areMultipleExecutionsAllowed ()
 
bool save ()
 
 stop ()
 
int getType ()
 

Public Attributes

int $storageUid = -1
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
const TYPE_SINGLE = 1
 
const TYPE_RECURRING = 2
 

Protected Member Functions

TYPO3 CMS Core Resource Index Indexer getIndexer (ResourceStorage $storage)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
 logException (\Exception $e)
 
 getLanguageService ()
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
TYPO3 CMS Scheduler Scheduler null $scheduler
 
int $taskUid = 0
 
bool $disabled = false
 
bool $runOnNextCronJob = false
 
Execution $execution
 
int $executionTime = 0
 
string $description = ''
 
int null $taskGroup = 0
 

Detailed Description

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

This class is a specific scheduler task implementation is not considered part of the Public TYPO3 API.

Definition at line 27 of file FileStorageIndexingTask.php.

Member Function Documentation

◆ execute()

bool TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask::execute ( )

Function execute from the Scheduler

Returns
‪bool TRUE on successful execution, FALSE on error

Reimplemented from TYPO3\CMS\Scheduler\Task\AbstractTask.

Definition at line 40 of file FileStorageIndexingTask.php.

References TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask\getIndexer().

◆ getIndexer()

TYPO3 CMS Core Resource Index Indexer TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask::getIndexer ( ResourceStorage  $storage)
protected

Gets the indexer

Returns
‪\TYPO3\CMS\Core\Resource\Index\Indexer

Definition at line 61 of file FileStorageIndexingTask.php.

Referenced by TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask\execute().

Member Data Documentation

◆ $storageUid

int TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask::$storageUid = -1

Storage Uid

Definition at line 33 of file FileStorageIndexingTask.php.