|
@@ 2159-2167 (lines=9) @@
|
| 2156 |
|
return str_replace("\xFF\x00", "\xFF", $data); |
| 2157 |
|
} |
| 2158 |
|
|
| 2159 |
|
public function LookupExtendedHeaderRestrictionsTagSizeLimits($index) { |
| 2160 |
|
static $LookupExtendedHeaderRestrictionsTagSizeLimits = array( |
| 2161 |
|
0x00 => 'No more than 128 frames and 1 MB total tag size', |
| 2162 |
|
0x01 => 'No more than 64 frames and 128 KB total tag size', |
| 2163 |
|
0x02 => 'No more than 32 frames and 40 KB total tag size', |
| 2164 |
|
0x03 => 'No more than 32 frames and 4 KB total tag size', |
| 2165 |
|
); |
| 2166 |
|
return (isset($LookupExtendedHeaderRestrictionsTagSizeLimits[$index]) ? $LookupExtendedHeaderRestrictionsTagSizeLimits[$index] : ''); |
| 2167 |
|
} |
| 2168 |
|
|
| 2169 |
|
public function LookupExtendedHeaderRestrictionsTextEncodings($index) { |
| 2170 |
|
static $LookupExtendedHeaderRestrictionsTextEncodings = array( |
|
@@ 2177-2185 (lines=9) @@
|
| 2174 |
|
return (isset($LookupExtendedHeaderRestrictionsTextEncodings[$index]) ? $LookupExtendedHeaderRestrictionsTextEncodings[$index] : ''); |
| 2175 |
|
} |
| 2176 |
|
|
| 2177 |
|
public function LookupExtendedHeaderRestrictionsTextFieldSize($index) { |
| 2178 |
|
static $LookupExtendedHeaderRestrictionsTextFieldSize = array( |
| 2179 |
|
0x00 => 'No restrictions', |
| 2180 |
|
0x01 => 'No string is longer than 1024 characters', |
| 2181 |
|
0x02 => 'No string is longer than 128 characters', |
| 2182 |
|
0x03 => 'No string is longer than 30 characters', |
| 2183 |
|
); |
| 2184 |
|
return (isset($LookupExtendedHeaderRestrictionsTextFieldSize[$index]) ? $LookupExtendedHeaderRestrictionsTextFieldSize[$index] : ''); |
| 2185 |
|
} |
| 2186 |
|
|
| 2187 |
|
public function LookupExtendedHeaderRestrictionsImageEncoding($index) { |
| 2188 |
|
static $LookupExtendedHeaderRestrictionsImageEncoding = array( |
|
@@ 2195-2203 (lines=9) @@
|
| 2192 |
|
return (isset($LookupExtendedHeaderRestrictionsImageEncoding[$index]) ? $LookupExtendedHeaderRestrictionsImageEncoding[$index] : ''); |
| 2193 |
|
} |
| 2194 |
|
|
| 2195 |
|
public function LookupExtendedHeaderRestrictionsImageSizeSize($index) { |
| 2196 |
|
static $LookupExtendedHeaderRestrictionsImageSizeSize = array( |
| 2197 |
|
0x00 => 'No restrictions', |
| 2198 |
|
0x01 => 'All images are 256x256 pixels or smaller', |
| 2199 |
|
0x02 => 'All images are 64x64 pixels or smaller', |
| 2200 |
|
0x03 => 'All images are exactly 64x64 pixels, unless required otherwise', |
| 2201 |
|
); |
| 2202 |
|
return (isset($LookupExtendedHeaderRestrictionsImageSizeSize[$index]) ? $LookupExtendedHeaderRestrictionsImageSizeSize[$index] : ''); |
| 2203 |
|
} |
| 2204 |
|
|
| 2205 |
|
public function LookupCurrencyUnits($currencyid) { |
| 2206 |
|
|