PHP 클래스 Locker\Helpers\Attachments

파일 보기 프로젝트 열기: learninglocker/learninglocker 1 사용 예제들

공개 메소드들

메소드 설명
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