Horde_Kolab_Storage_Cache::_getAttachmentId PHP Method

_getAttachmentId() private method

Compose the attachment key.
private _getAttachmentId ( string $data_id, string $obid, string $attachment_id ) : string
$data_id string ID of the data set.
$obid string Object backend id.
$attachment_id string Attachment ID.
return string The attachment cache ID.
    private function _getAttachmentId($data_id, $obid, $attachment_id)
    {
        return md5(serialize(array('d' => $data_id, 'o' => (string) $obid, 'p' => (string) $attachment_id)));
    }