dolibarr  7.0.0-beta
Public Member Functions | List of all members
pdf_proforma Class Reference

Classe permettant de generer les commandes au modele Proforma. More...

+ Inheritance diagram for pdf_proforma:
+ Collaboration diagram for pdf_proforma:

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 _pagehead (&$pdf, $object, $showaddress, $outputlangs, $titlekey="InvoiceProForma")
 Show top header of page. More...
 
- Public Member Functions inherited from pdf_einstein
 __construct ($db)
 Constructor. More...
 
 write_file ($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0)
 Function to build pdf onto disk. More...
 
 _tableau_versements (&$pdf, $object, $posy, $outputlangs)
 Show payments table. More...
 
 _tableau_info (&$pdf, $object, $posy, $outputlangs)
 Show miscellaneous information (payment mode, payment term, ...) More...
 
 _tableau_tot (&$pdf, $object, $deja_regle, $posy, $outputlangs)
 Show total to pay. More...
 
 _tableau (&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop=0, $hidebottom=0, $currency='')
 Show table for lines. More...
 
 _pagehead (&$pdf, $object, $showaddress, $outputlangs, $titlekey="PdfOrderTitle")
 Show top header of page. More...
 
 _pagefoot (&$pdf, $object, $outputlangs, $hidefreetext=0)
 Show footer of page. More...
 
- Public Member Functions inherited from CommonDocGenerator
 __construct ($db)
 Constructor. More...
 
 get_substitutionarray_user ($user, $outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_mysoc ($mysoc, $outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_thirdparty ($object, $outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_contact ($object, $outputlangs, $array_key= 'object')
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_other ($outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_object ($object, $outputlangs, $array_key='object')
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_lines ($line, $outputlangs)
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_shipment ($object, $outputlangs, $array_key='object')
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_shipment_lines ($line, $outputlangs)
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_each_var_object (&$object, $outputlangs, $recursive=true)
 Define array with couple subtitution key => subtitution value. More...
 
 fill_substitutionarray_with_extrafields ($object, $array_to_fill, $extrafields, $array_key, $outputlangs)
 Fill array with couple extrafield key => extrafield value. More...
 
 printRect ($pdf, $x, $y, $l, $h, $hidetop=0, $hidebottom=0)
 Rect pdf. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ModelePDFCommandes
static liste_modeles ($db, $maxfilenamelength=0)
 Return list of active generation modules. More...
 
- Public Attributes inherited from pdf_einstein
 $version = 'dolibarr'
 Dolibarr version of the loaded document string.
 

Detailed Description

Classe permettant de generer les commandes au modele Proforma.

Definition at line 41 of file pdf_proforma.modules.php.

Constructor & Destructor Documentation

pdf_proforma::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 49 of file pdf_proforma.modules.php.

References description, and name.

Member Function Documentation

pdf_proforma::_pagehead ( $pdf,
  $object,
  $showaddress,
  $outputlangs,
  $titlekey = "InvoiceProForma" 
)

Show top header of page.

Parameters
TCPDF$pdfObject PDF
Object$objectObject to show
int$showaddress0=no, 1=yes
Translate$outputlangsObject lang for output
string$titlekeyTranslation key to show as title of document
Returns
void

Definition at line 70 of file pdf_proforma.modules.php.


The documentation for this class was generated from the following file: