Метод | Описание | |
---|---|---|
getMimeTypeFromObjectType ( string $type ) : string | Determine the mime type given the object type. | |
getMimeTypesFromFolderType ( string $type ) : array | Determine the mime type given the type of the folder that holds the object. | |
getObjectTypeFromMimePart ( Horde_Mime_Part $structure, string $id ) : string | boolean | Determine the object type based on a specific MIME part that carries a Kolab object. | |
getObjectTypeFromMimeType ( string $mime_type ) : string | boolean | Determine the object type based on the mime type of a Kolab object. | |
matchMimePartToFolderType ( Horde_Mime_Part $structure, string $type ) : array | boolean | Tries to determine the MIME part that carries an object matching the specified folder type. | |
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. | |
matchMimePartToObjectType ( Horde_Mime_Part $structure, string $type ) : string | boolean | Try to determine the MIME part that carries the object of the specified type. |
public static getMimeTypeFromObjectType ( string $type ) : string | ||
$type | string | The object type. |
Результат | string | The mime type associated to the object type. |
public static getMimeTypesFromFolderType ( string $type ) : array | ||
$type | string | The folder type. |
Результат | array | The mime types associated to the folder type. |
public static getObjectTypeFromMimePart ( Horde_Mime_Part $structure, string $id ) : string | boolean | ||
$structure | Horde_Mime_Part | A structural representation of the mime message. |
$id | string | The MIME part carrying the Kolab object. |
Результат | string | boolean | The object type or false if no matching object type was found. |
public static matchMimePartToFolderType ( Horde_Mime_Part $structure, string $type ) : array | boolean | ||
$structure | Horde_Mime_Part | A structural representation of the mime message. |
$type | string | The folder type. |
Результат | array | boolean | 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. |
public static matchMimePartToHeaderType ( Horde_Mime_Part $structure, Horde_Mime_Headers $headers ) : string | boolean | ||
$structure | Horde_Mime_Part | A structural representation of the mime message. |
$headers | Horde_Mime_Headers | The message headers. |
Результат | string | boolean | 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. |
public static matchMimePartToObjectType ( Horde_Mime_Part $structure, string $type ) : string | boolean | ||
$structure | Horde_Mime_Part | A structural representation of the mime message. |
$type | string | The object type. |
Результат | string | boolean | 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. |