Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_message_part.php @ 25:bea5a38be938
More cleaning up php8 Warnings/deprecations
| author | Charlie Root |
|---|---|
| date | Sat, 18 Oct 2025 12:24:31 -0400 |
| parents | 303b85d5b561 |
| children |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_message_part.php Fri Oct 17 17:31:22 2025 -0400 +++ b/program/lib/Roundcube/rcube_message_part.php Sat Oct 18 12:24:31 2025 -0400 @@ -57,6 +57,20 @@ public $mimetype = 'text/plain'; /** + * Real content type (for fake parts) + * + * @var string|null + */ + public $realtype; + + /** + * Real content type of a message/rfc822 part + * + * @var string + */ + public $real_mimetype = ''; + + /** * Part size in bytes * * @var int @@ -64,12 +78,40 @@ public $size = 0; /** + * Part body + * + * @var string|null + */ + public $body; + + /** * Part headers * * @var array */ - public $headers = array(); - public $body; + public $headers = []; + + /** + * Sub-Parts + * + * @var array + */ + public $parts = []; + + /** + * Part Content-Id + * + * @var string|null + */ + public $content_id; + + /** + * Part Content-Location + * + * @var string|null + */ + public $content_location; + public $type; public $disposition = ''; public $filename = ''; @@ -78,6 +120,7 @@ public $d_parameters = array(); public $ctype_parameters = array(); public $replaces = []; + public $body_modified = false; /** * Clone handler.
