PHP Класс Locker\Helpers\Attachments

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
setAttachments ( $content_type, $content ) : array Get statements and attachments from submitted content

Приватные методы

Метод Описание
getBoundary ( String $content_type ) : String Gets the boundary from the content type.
getHeaders ( String $raw_headers, String $delim ) : [String Gets the boundary from the content type.
validateHeaders ( array $headers, array $sha_hashes ) Validates the attachment headers.

Описание методов

setAttachments() статический публичный Метод

Get statements and attachments from submitted content
static public setAttachments ( $content_type, $content ) : array
$content_type
$content
Результат array