PHP Class CanGelis\L4pdf\PDF

Inheritance: extends CanGelis\PDF\PDF
Afficher le fichier Open project: cangelis/l4pdf

Méthodes publiques

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

Méthodes protégées

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

Method Details

createResponse() protected méthode

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

download() public méthode

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

getAs() protected méthode

Gets the attachment name for the Response
protected getAs ( string $as = null ) : string
$as string
Résultat string

loadView() public méthode

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

stream() public méthode

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