PHP Класс CanGelis\L4pdf\PDF

Наследование: extends CanGelis\PDF\PDF
Показать файл Открыть проект

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

Метод Описание
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