|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ilMassMailTaskProcessor:Public Member Functions | |
| __construct (private readonly int $anonymousUserId=ANONYMOUS_USER_ID, TaskManager $taskManager=null, TaskFactory $taskFactory=null, ilLanguage $language=null, ilLogger $logger=null, Container $dic=null, \ILIAS\Mail\Object\MailPayloadEncoder $payload_encoder=null) | |
| 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 | |
| readonly TaskManager | $taskManager |
| readonly TaskFactory | $taskFactory |
| readonly ilLanguage | $language |
| readonly ilLogger | $logger |
| readonly ILIAS Mail Object MailPayloadEncoder | $payload_encoder |
Definition at line 26 of file class.ilMassMailTaskProcessor.php.
| ilMassMailTaskProcessor::__construct | ( | private readonly int | $anonymousUserId = ANONYMOUS_USER_ID, |
| TaskManager | $taskManager = null, |
||
| TaskFactory | $taskFactory = null, |
||
| ilLanguage | $language = null, |
||
| ilLogger | $logger = null, |
||
| Container | $dic = null, |
||
| \ILIAS\Mail\Object\MailPayloadEncoder | $payload_encoder = null |
||
| ) |
Definition at line 34 of file class.ilMassMailTaskProcessor.php.
References $DIC, $dic, $language, $logger, $payload_encoder, $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 150 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 |
| ilMailException |
Definition at line 87 of file class.ilMassMailTaskProcessor.php.
References createInteraction(), and runTask().
Here is the call graph for this function:
|
private |
Definition at line 138 of file class.ilMassMailTaskProcessor.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ILIAS\Repository\logger().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 30 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 31 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
Definition at line 32 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 29 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().
|
private |
Definition at line 28 of file class.ilMassMailTaskProcessor.php.
Referenced by __construct().