|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Collaboration diagram for ILIAS\Mail\Attachments\MailAttachments:Public Member Functions | |
| isEmpty () | |
| isIrss () | |
| isLegacy () | |
| rcid () | |
| legacyFilenames () | |
| toDb () | |
| toBackgroundTask () | |
| stageRcidOrNull () | |
Static Public Member Functions | |
| static | empty () |
| static | fromIrss (ResourceCollectionIdentification $rcid) |
| static | fromLegacyFilenames (array $filenames) |
| Legacy rows come from unserialize() and may contain non-strings. More... | |
| static | fromDb (?string $raw) |
| static | fromBackgroundTask (string $serialized) |
Data Fields | |
| const string | SERIALIZED_RCID_KEY = '__irss_rcid' |
Private Attributes | |
| const string | RCID_PATTERN = '/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/' |
Definition at line 26 of file MailAttachments.php.
|
static |
Definition at line 38 of file MailAttachments.php.
Referenced by ILIAS\Mail\Attachments\MailAttachments\fromBackgroundTask(), ILIAS\Mail\Attachments\MailAttachments\fromLegacyFilenames(), ILIAS\Notifications\ilNotificationMailHandler\notify(), and ILIAS\EmployeeTalk\Notification\Notification\send().
Here is the caller graph for this function:
|
static |
Definition at line 99 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\empty(), ILIAS\Mail\Attachments\MailAttachments\fromIrss(), and ILIAS\Mail\Attachments\MailAttachments\fromLegacyFilenames().
Here is the call graph for this function:
|
static |
Definition at line 70 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\fromIrss(), and ILIAS\Mail\Attachments\MailAttachments\fromLegacyFilenames().
Referenced by ILIAS\Mail\Message\MailRecordMapper\normalizeRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 43 of file MailAttachments.php.
Referenced by ILIAS\Mail\Attachments\MailAttachments\fromBackgroundTask(), ILIAS\Mail\Attachments\MailAttachments\fromDb(), and ILIAS\EmployeeTalk\Notification\Notification\send().
Here is the caller graph for this function:
|
static |
Legacy rows come from unserialize() and may contain non-strings.
Those entries are dropped so one bad value does not abort the migration.
| array<array-key,mixed> | $filenames |
Definition at line 54 of file MailAttachments.php.
References $filename, and ILIAS\Mail\Attachments\MailAttachments\empty().
Referenced by ILIAS\Mail\Attachments\MailAttachments\fromBackgroundTask(), and ILIAS\Mail\Attachments\MailAttachments\fromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Attachments\MailAttachments::isEmpty | ( | ) |
Definition at line 115 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\rcid().
Referenced by ilMailFormGUI\buildFormElements(), ilMail\createQueueSnapshot(), ilMailFolderGUI\getAttachmentHashes(), ilMail\getDeliveryAttachments(), ilMail\irssAttachmentsWereLost(), and ilMail\releaseSourceAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Attachments\MailAttachments::isIrss | ( | ) |
Definition at line 120 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\rcid().
Referenced by ilMail\createQueueSnapshot(), ilMail\getDeliveryAttachments(), ilMail\irssAttachmentsWereLost(), ILIAS\Mail\Attachments\MailAttachments\legacyFilenames(), ilMail\releaseSourceAttachments(), ilMailAttachmentGUI\showAttachmentsCommand(), ilMailFormGUI\showForm(), ILIAS\Mail\Attachments\MailAttachments\toBackgroundTask(), and ILIAS\Mail\Attachments\MailAttachments\toDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Attachments\MailAttachments::isLegacy | ( | ) |
Definition at line 125 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\rcid().
Referenced by ilFileDataMail\migrateLegacyPoolAttachments(), and ilMail\normalizeLegacyAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Attachments\MailAttachments::legacyFilenames | ( | ) |
Definition at line 142 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\isIrss().
Referenced by ilFileDataMail\migrateLegacyPoolAttachments(), and ilMail\normalizeLegacyAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Attachments\MailAttachments::rcid | ( | ) |
Definition at line 130 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\rcid().
Referenced by ilMail\createDeliveryAttachments(), ilMail\createQueueSnapshot(), ILIAS\Mail\Attachments\MailAttachments\isEmpty(), ILIAS\Mail\Attachments\MailAttachments\isIrss(), ILIAS\Mail\Attachments\MailAttachments\isLegacy(), ILIAS\Mail\Attachments\MailAttachments\rcid(), ilMail\releaseSourceAttachments(), ILIAS\Mail\Attachments\MailAttachments\toBackgroundTask(), and ILIAS\Mail\Attachments\MailAttachments\toDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Attachments\MailAttachments::stageRcidOrNull | ( | ) |
Definition at line 169 of file MailAttachments.php.
| ILIAS\Mail\Attachments\MailAttachments::toBackgroundTask | ( | ) |
Definition at line 160 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\isIrss(), and ILIAS\Mail\Attachments\MailAttachments\rcid().
Here is the call graph for this function:| ILIAS\Mail\Attachments\MailAttachments::toDb | ( | ) |
Definition at line 151 of file MailAttachments.php.
References ILIAS\Mail\Attachments\MailAttachments\isIrss(), and ILIAS\Mail\Attachments\MailAttachments\rcid().
Referenced by ilMail\persistMailAttachmentsColumn().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 29 of file MailAttachments.php.
| const string ILIAS\Mail\Attachments\MailAttachments::SERIALIZED_RCID_KEY = '__irss_rcid' |
Definition at line 28 of file MailAttachments.php.