public static function getMimesAccept($resource)
    {
        $attachmentMimes = AttachmentMime::builder()->where('resource_id_019', $resource)->get();

        $index = 1;
        $mimes = null;
        foreach($attachmentMimes as $attachmentMime)
        {
            $mimes .= "'" . $attachmentMime->mime_019 . "'";

            if($index < count($attachmentMimes))
                $mimes .= ", ";

            $index ++;
        }

        return $mimes;
    }