|
ILIAS
release_8 Revision v8.24
|
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, int $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 | $taskManager |
| TaskFactory | $taskFactory |
| ilLanguage | $language |
| ilLogger | $logger |
| ilMailValueObjectJsonService | $objectJsonService |
| int | $anonymousUserId |
Definition at line 29 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, |
||
| int | $anonymousUserId = ANONYMOUS_USER_ID |
||
| ) |
Definition at line 38 of file class.ilMassMailTaskProcessor.php.
References $anonymousUserId, $DIC, $dic, $language, $logger, $objectJsonService, $taskFactory, $taskManager, ilLoggerFactory\getLogger(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 153 of file class.ilMassMailTaskProcessor.php.
| 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 88 of file class.ilMassMailTaskProcessor.php.
|
private |
Definition at line 141 of file class.ilMassMailTaskProcessor.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 36 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 33 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 34 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 35 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 31 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().