PHP Class Locker\Helpers\Attachments

Afficher le fichier Open project: learninglocker/learninglocker Class Usage Examples

Méthodes publiques

Méthode Description
setAttachments ( $content_type, $content ) : array Get statements and attachments from submitted content

Private Methods

Méthode Description
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.

Method Details

setAttachments() static public méthode

Get statements and attachments from submitted content
static public setAttachments ( $content_type, $content ) : array
$content_type
$content
Résultat array