Horde_ActiveSync_Imap_Message::isAttachment PHP Метод

isAttachment() публичный Метод

For our purposes, an attachment is any MIME part that can be downloaded by itself (i.e. all the data needed to view the part is contained within the download data).
Устаревший: Will be removed in 3.0 (Only used in self::hasAttachments call).
public isAttachment ( string $id, string $mime_type ) : boolean
$id string The MIME Id for the part we are checking.
$mime_type string The MIME type.
Результат boolean True if an attachment.
    public function isAttachment($id, $mime_type)
    {
        return $this->basePart->isAttachment($id, $mime_type);
    }