Can this MIME part be displayed in the given mode?
public canDisplay ( mixed $part, integer $mask, string $type = null ) : integer | ||
$part | mixed | The MIME part or a MIME ID string. |
$mask | integer | One of the RENDER_ constants. |
$type | string | The type to use (overrides the MIME ID if $id is a MIME part). |
return | integer | The RENDER_ constant of the allowable display. |