|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Collaboration diagram for ilMassMailTaskProcessor:Public Member Functions | |
| __construct (TaskManager $taskManager=null, TaskFactory $taskFactory=null, ilLanguage $language=null, ilLogger $logger=null, Container $dic=null, ilMailValueObjectJsonService $objectJsonService=null, string $anonymousUserId=ANONYMOUS_USER_ID) | |
| run (array $mailValueObjects, int $userId, string $contextId, array $contextParameters, int $mailsPerTask=100) | |
Private Member Functions | |
| runTask (\ILIAS\BackgroundTasks\Task $task, int $userId) | |
| createInteraction (int $userId, string $contextId, array $contextParameters, $remainingObjects) | |
Private Attributes | |
| $taskManager | |
| $taskFactory | |
| $language | |
| $logger | |
| $objectJsonService | |
| $anonymousUserId | |
Definition at line 12 of file class.ilMassMailTaskProcessor.php.
| ilMassMailTaskProcessor::__construct | ( | TaskManager | $taskManager = null, |
| TaskFactory | $taskFactory = null, |
||
| ilLanguage | $language = null, |
||
| ilLogger | $logger = null, |
||
| Container | $dic = null, |
||
| ilMailValueObjectJsonService | $objectJsonService = null, |
||
| string | $anonymousUserId = ANONYMOUS_USER_ID |
||
| ) |
| TaskManager | $taskManager | |
| TaskFactory | null | $taskFactory | |
| ilLanguage | null | $language | |
| ilLogger | null | $logger | |
| Container | null | $dic | |
| ilMailValueObjectJsonService | null | $objectJsonService | |
| string | $anonymousUserId |
Definition at line 53 of file class.ilMassMailTaskProcessor.php.
References $anonymousUserId, $DIC, $dic, $language, $logger, $objectJsonService, $taskFactory, $taskManager, ilLoggerFactory\getLogger(), and language().
Here is the call graph for this function:
|
private |
| int | $userId | |
| string | $contextId | |
| array | $contextParameters | |
| $remainingObjects |
Definition at line 174 of file class.ilMassMailTaskProcessor.php.
Referenced by run().
Here is the caller graph for this function:| ilMassMailTaskProcessor::run | ( | array | $mailValueObjects, |
| int | $userId, | ||
| string | $contextId, | ||
| array | $contextParameters, | ||
| int | $mailsPerTask = 100 |
||
| ) |
| ilMailValueObject[] | $mailValueObjects | - One MailValueObject = One Task |
| int | $userId | - User ID of the user who executes the background task |
| string | $contextId | - context ID of the Background task |
| array | $contextParameters | - context parameters for the background tasks |
| int | $mailsPerTask | - Defines how many mails will be added before a background task is executed |
| ilException |
Definition at line 103 of file class.ilMassMailTaskProcessor.php.
References createInteraction(), and runTask().
Here is the call graph for this function:
|
private |
| \ILIAS\BackgroundTasks\Task | $task | |
| int | $userId |
Definition at line 155 of file class.ilMassMailTaskProcessor.php.
References language().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 42 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 27 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 32 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 37 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 22 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 17 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().