PHP 클래스 CanGelis\L4pdf\PDF

상속: extends CanGelis\PDF\PDF
파일 보기 프로젝트 열기: cangelis/l4pdf

공개 메소드들

메소드 설명
download ( string $as = null ) : Illuminate\Http\Response Get the PDF Content as an attachment
loadView ( string $viewName, array $data = [], array $mergeData = [] ) Loads the Input Content from the view
stream ( string $as = null ) : Illuminate\Http\Response Display the PDF Document in the browser window

보호된 메소드들

메소드 설명
createResponse ( ) : Illuminate\Http\Response Creates a response object with proper Content-type for PDF Doc.
getAs ( string $as = null ) : string Gets the attachment name for the Response

메소드 상세

createResponse() 보호된 메소드

Creates a response object with proper Content-type for PDF Doc.
protected createResponse ( ) : Illuminate\Http\Response
리턴 Illuminate\Http\Response

download() 공개 메소드

Get the PDF Content as an attachment
public download ( string $as = null ) : Illuminate\Http\Response
$as string
리턴 Illuminate\Http\Response

getAs() 보호된 메소드

Gets the attachment name for the Response
protected getAs ( string $as = null ) : string
$as string
리턴 string

loadView() 공개 메소드

Loads the Input Content from the view
public loadView ( string $viewName, array $data = [], array $mergeData = [] )
$viewName string
$data array
$mergeData array

stream() 공개 메소드

Display the PDF Document in the browser window
public stream ( string $as = null ) : Illuminate\Http\Response
$as string
리턴 Illuminate\Http\Response