Logidav Docs

PdfService
in package

Table of Contents

Properties

$style  : mixed
$container  : mixed
$pdf  : mixed

Methods

__construct()  : mixed
addContent()  : mixed
Adding content to pdf
addContentInvoice()  : mixed
Adding content to pdf
addOneDQrCode()  : mixed
Adding 1dQrCode to pdf
addQrCode()  : void
Adding QrCode to pdf
addQrCodeInvoice()  : void
Adding QrCode to pdf
addQrCodeTrusk()  : void
Adding QrCode to pdf
getPdf()  : mixed
Returning the instance of pdf
image()  : mixed
output()  : mixed

Properties

$style

public mixed $style = [ 'border' => true, 'padding' => 0, 'vpadding' => 'auto', 'hpadding' => 'auto', 'fgcolor' => array(0, 0, 0), 'bgcolor' => false, //array(255,255,255) 'module_width' => 1, // width of a single module in points 'module_height' => 1, ]

Methods

__construct()

public __construct(mixed $whiteOctoberPdf) : mixed
Parameters
$whiteOctoberPdf : mixed

addContent()

Adding content to pdf

public addContent(mixed $content) : mixed
Parameters
$content : mixed

addContentInvoice()

Adding content to pdf

public addContentInvoice(mixed $content) : mixed
Parameters
$content : mixed

addOneDQrCode()

Adding 1dQrCode to pdf

public addOneDQrCode(mixed $content) : mixed
Parameters
$content : mixed
Tags
@return

addQrCode()

Adding QrCode to pdf

public addQrCode(mixed $content[, string $type = 'QRCODE,H' ][, int $x = 165 ][, int $y = 20 ][, int $w = 25 ][, int $h = 25 ]) : void
Parameters
$content : mixed
$type : string = 'QRCODE,H'
$x : int = 165
$y : int = 20
$w : int = 25
$h : int = 25

addQrCodeInvoice()

Adding QrCode to pdf

public addQrCodeInvoice(mixed $content[, null $trackingCode = null ][, string $type = 'QRCODE,H' ][, int $x = 165 ][, int $y = 20 ][, int $w = 25 ][, int $h = 25 ]) : void
Parameters
$content : mixed
$trackingCode : null = null
$type : string = 'QRCODE,H'
$x : int = 165
$y : int = 20
$w : int = 25
$h : int = 25

addQrCodeTrusk()

Adding QrCode to pdf

public addQrCodeTrusk(mixed $content[, string $type = 'QRCODE,H' ][, int $x = 130 ][, int $y = 215 ][, int $w = 50 ][, int $h = 50 ]) : void
Parameters
$content : mixed
$type : string = 'QRCODE,H'
$x : int = 130
$y : int = 215
$w : int = 50
$h : int = 50

getPdf()

Returning the instance of pdf

public getPdf() : mixed

image()

public image(mixed $file[, mixed $x = '' ][, mixed $y = '' ][, mixed $w = 0 ][, mixed $h = 0 ][, mixed $type = '' ][, mixed $link = '' ][, mixed $align = '' ][, mixed $resize = false ][, mixed $dpi = 300 ][, mixed $palign = '' ][, mixed $ismask = false ][, mixed $imgmask = false ][, mixed $border = 0 ][, mixed $fitbox = false ][, mixed $hidden = false ][, mixed $fitonpage = false ][, mixed $alt = false ][, mixed $altimgs = array() ]) : mixed
Parameters
$file : mixed
$x : mixed = ''
$y : mixed = ''
$w : mixed = 0
$h : mixed = 0
$type : mixed = ''
$link : mixed = ''
$align : mixed = ''
$resize : mixed = false
$dpi : mixed = 300
$palign : mixed = ''
$ismask : mixed = false
$imgmask : mixed = false
$border : mixed = 0
$fitbox : mixed = false
$hidden : mixed = false
$fitonpage : mixed = false
$alt : mixed = false
$altimgs : mixed = array()

output()

public output(mixed $fileName[, mixed $destination = 'D' ]) : mixed
Parameters
$fileName : mixed
$destination : mixed = 'D'

        
On this page

Search results