PHP 클래스 Airship\Cabin\Hull\Landing\PublicFiles

상속: extends LandingGear
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$cabin string
$files Airship\Cabin\Hull\Blueprint\PublicFiles
$viewableMimeTypes string[]

공개 메소드들

메소드 설명
airshipLand ( ) This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
download ( string $path, string $default = 'text/plain' ) Download a file (assuming we are allowed to)

보호된 메소드들

메소드 설명
isViewable ( string $mimeHeader ) : boolean

메소드 상세

airshipLand() 공개 메소드

This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
public airshipLand ( )

download() 공개 메소드

Download a file (assuming we are allowed to)
public download ( string $path, string $default = 'text/plain' )
$path string
$default string Default MIME type

isViewable() 보호된 메소드

protected isViewable ( string $mimeHeader ) : boolean
$mimeHeader string
리턴 boolean

프로퍼티 상세

$cabin 보호되어 있는 프로퍼티

protected string $cabin
리턴 string

$files 보호되어 있는 프로퍼티

protected PublicFiles,Airship\Cabin\Hull\Blueprint $files
리턴 Airship\Cabin\Hull\Blueprint\PublicFiles

$viewableMimeTypes 보호되어 있는 프로퍼티

protected string[] $viewableMimeTypes
리턴 string[]