PHP Class PhpSigep\Pdf\CartaoDePostagem2016

Author: : Stavarengo
Show file Open project: stavarengo/php-sigep

Public Properties

Property Type Description
$pdf ImprovedFPDF

Public Methods

Method Description
__construct ( PhpSigep\Model\PreListaDePostagem $plp, integer $idPlpCorreios, string $logoFile, $chancelas = [] )
render ( $dest = '', $filename = '' )

Private Methods

Method Description
CalcDigCep ( $cep )
_ ( $str )
_render ( string $dest = '', string $fileName = '' ) : mixed
getM2Dstr ( $cepD, $numD, $cepO, $numO, $etq, $srvA, $carP, $codS, $valD, $telD, $msg = '' )
init ( )
multiLines ( $w, $txt, $align, $h = null, $utf8 = true )
setFillColor ( $r, $g, $b )
t ( $w, $txt, $ln, $align, $h = null, $multiLines = false, $utf8 = true )
writeDestinatario ( $l, $t, $w, $objetoPostal )
writeEndereco ( $t, $l, $w, $titulo, $nomeDestinatario, $logradouro, $numero1, $complemento, $bairro, $cidade, $uf, $cep = null )
writeRemetente ( $l, $t, $w, PhpSigep\Model\Remetente $remetente )

Method Details

__construct() public method

public __construct ( PhpSigep\Model\PreListaDePostagem $plp, integer $idPlpCorreios, string $logoFile, $chancelas = [] )
$plp PhpSigep\Model\PreListaDePostagem
$idPlpCorreios integer
$logoFile string

render() public method

public render ( $dest = '', $filename = '' )

Property Details

$pdf public property

public ImprovedFPDF,PhpSigep\Pdf $pdf
return ImprovedFPDF