comparison 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
comparison
equal deleted inserted replaced
24:e53add5ddac5 25:bea5a38be938
55 * @var string 55 * @var string
56 */ 56 */
57 public $mimetype = 'text/plain'; 57 public $mimetype = 'text/plain';
58 58
59 /** 59 /**
60 * Real content type (for fake parts)
61 *
62 * @var string|null
63 */
64 public $realtype;
65
66 /**
67 * Real content type of a message/rfc822 part
68 *
69 * @var string
70 */
71 public $real_mimetype = '';
72
73 /**
60 * Part size in bytes 74 * Part size in bytes
61 * 75 *
62 * @var int 76 * @var int
63 */ 77 */
64 public $size = 0; 78 public $size = 0;
65 79
66 /** 80 /**
81 * Part body
82 *
83 * @var string|null
84 */
85 public $body;
86
87 /**
67 * Part headers 88 * Part headers
68 * 89 *
69 * @var array 90 * @var array
70 */ 91 */
71 public $headers = array(); 92 public $headers = [];
72 public $body; 93
94 /**
95 * Sub-Parts
96 *
97 * @var array
98 */
99 public $parts = [];
100
101 /**
102 * Part Content-Id
103 *
104 * @var string|null
105 */
106 public $content_id;
107
108 /**
109 * Part Content-Location
110 *
111 * @var string|null
112 */
113 public $content_location;
114
73 public $type; 115 public $type;
74 public $disposition = ''; 116 public $disposition = '';
75 public $filename = ''; 117 public $filename = '';
76 public $encoding = '8bit'; 118 public $encoding = '8bit';
77 public $charset = ''; 119 public $charset = '';
78 public $d_parameters = array(); 120 public $d_parameters = array();
79 public $ctype_parameters = array(); 121 public $ctype_parameters = array();
80 public $replaces = []; 122 public $replaces = [];
123 public $body_modified = false;
81 124
82 /** 125 /**
83 * Clone handler. 126 * Clone handler.
84 */ 127 */
85 function __clone() 128 function __clone()