$_object_types
$_object_types :
Mime type handling for Kolab objects.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
matchMimePartToObjectType(\Horde_Mime_Part $structure, string $type) : string|boolean
Try to determine the MIME part that carries the object of the specified type.
\Horde_Mime_Part | $structure | A structural representation of the mime message. |
string | $type | The object type. |
The MIME ID of the message part carrying the object of the specified type or false if such a part was not identified within the message.
matchMimePartToFolderType(\Horde_Mime_Part $structure, string $type) : array|boolean
Tries to determine the MIME part that carries an object matching the specified folder type.
\Horde_Mime_Part | $structure | A structural representation of the mime message. |
string | $type | The folder type. |
The MIME ID and MIME type of the message part carrying an object matching the specified folder type or false if such a part was not identified within the message.
matchMimePartToHeaderType(\Horde_Mime_Part $structure, \Horde_Mime_Headers $headers) : string|boolean
Try to determine the MIME part that carries an object matching based on the message headers.
\Horde_Mime_Part | $structure | A structural representation of the mime message. |
\Horde_Mime_Headers | $headers | The message headers. |
The MIME ID of the message part carrying an object matching the message headers or false if such a part was not identified within the message.
getObjectTypeFromMimePart(\Horde_Mime_Part $structure, string $id) : string|boolean
Determine the object type based on a specific MIME part that carries a Kolab object.
\Horde_Mime_Part | $structure | A structural representation of the mime message. |
string | $id | The MIME part carrying the Kolab object. |
The object type or false if no matching object type was found.
getObjectTypeFromMimeType(string $mime_type) : string|boolean
Determine the object type based on the mime type of a Kolab object.
string | $mime_type | The MIME type of the Kolab object. |
The object type or false if no matching object type was found.