TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider Class Reference
Inheritance diagram for TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider:
TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface

Public Member Functions

 getAdditionalFields (array &$taskInfo, $task, \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $parentObject)
 
 validateAdditionalFields (array &$submittedData, \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $parentObject)
 
 saveAdditionalFields (array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task)
 
- Public Member Functions inherited from TYPO3\CMS\Scheduler\AdditionalFieldProviderInterface
 getAdditionalFields (array &$taskInfo, $task, \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $schedulerModule)
 
 validateAdditionalFields (array &$submittedData, \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $schedulerModule)
 
 saveAdditionalFields (array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task)
 

Protected Attributes

 $defaultCanDeactivateSelf = true
 
 $defaultNumberOfRecords = 250
 

Detailed Description

Additional field for salted passwords bulk update task

Definition at line 20 of file BulkUpdateFieldProvider.php.

Member Function Documentation

◆ getAdditionalFields()

TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider::getAdditionalFields ( array &  $taskInfo,
  $task,
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController  $parentObject 
)

Add a field for the number of records and if the task should deactivate itself after processing all records

Parameters
array$taskInfoReference to the array containing the info used in the add/edit form
\TYPO3\CMS\Saltedpasswords\Task\BulkUpdateTask$taskWhen editing, reference to the current task object. Null when adding.
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController$parentObjectReference to the calling object (Scheduler's BE module)
Returns
array Array containing all the information pertaining to the additional fields

Definition at line 45 of file BulkUpdateFieldProvider.php.

References TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider\$defaultCanDeactivateSelf, and TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider\$defaultNumberOfRecords.

◆ saveAdditionalFields()

TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider::saveAdditionalFields ( array  $submittedData,
\TYPO3\CMS\Scheduler\Task\AbstractTask  $task 
)

Saves given values in task object

Parameters
array$submittedDataContains data submitted by the user
\TYPO3\CMS\Scheduler\Task\AbstractTask | \TYPO3\CMS\Saltedpasswords\Task\BulkUpdateTask$taskReference to the current task object
Returns
void

Definition at line 112 of file BulkUpdateFieldProvider.php.

◆ validateAdditionalFields()

TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider::validateAdditionalFields ( array &  $submittedData,
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController  $parentObject 
)

Checks if the given values are boolean and integer

Parameters
array$submittedDataReference to the array containing the data submitted by the user
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController$parentObjectReference to the calling object (Scheduler's BE module)
Returns
bool TRUE if validation was ok (or selected class is not relevant), FALSE otherwise

Definition at line 93 of file BulkUpdateFieldProvider.php.

References $GLOBALS.

Member Data Documentation

◆ $defaultCanDeactivateSelf

TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider::$defaultCanDeactivateSelf = true
protected

◆ $defaultNumberOfRecords

TYPO3\CMS\Saltedpasswords\Task\BulkUpdateFieldProvider::$defaultNumberOfRecords = 250
protected