dolibarr  9.0.0
Public Member Functions | List of all members
BordereauChequeBlochet Class Reference

Class of file to build cheque deposit receipts. More...

+ Inheritance diagram for BordereauChequeBlochet:
+ Collaboration diagram for BordereauChequeBlochet:

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 write_file ($object, $_dir, $number, $outputlangs)
 Fonction to generate document on disk. More...
 
 Header (&$pdf, $page, $pages, $outputlangs)
 Generate Header. More...
 
 Body (&$pdf, $pagenb, $pages, $outputlangs)
 Output array. 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...
 
 columnSort ($a, $b)
 uasort callback function to Sort colums fields More...
 
 prepareArrayColumnField ($object, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
 Prepare Array Column Field. More...
 
 getColumnContentWidth ($colKey)
 get column content width from column key More...
 
 getColumnContentXStart ($colKey)
 get column content X (abscissa) left position from column key More...
 
 getColumnRank ($colKey)
 get column position rank from column key More...
 
 insertNewColumnDef ($newColKey, $defArray, $targetCol=false, $insertAfterTarget=false)
 get column position rank from column key More...
 
 printStdColumnContent ($pdf, &$curY, $colKey, $columnText='')
 print standard column content More...
 
 getColumnStatus ($colKey)
 get column status from column key More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ModeleChequeReceipts
static liste_modeles ($db, $maxfilenamelength=0)
 Return list of active generation modules. More...
 

Detailed Description

Class of file to build cheque deposit receipts.

Definition at line 35 of file pdf_blochet.class.php.

Constructor & Destructor Documentation

◆ __construct()

BordereauChequeBlochet::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 48 of file pdf_blochet.class.php.

Member Function Documentation

◆ _pagefoot()

BordereauChequeBlochet::_pagefoot ( $pdf,
  $object,
  $outputlangs,
  $hidefreetext = 0 
)

Show footer of page.

Need this->emetteur object

Parameters
PDF$pdfPDF
Object$objectObject to show
Translate$outputlangsObject lang for output
int$hidefreetext1=Hide free text
Returns
void

Definition at line 384 of file pdf_blochet.class.php.

◆ Body()

BordereauChequeBlochet::Body ( $pdf,
  $pagenb,
  $pages,
  $outputlangs 
)

Output array.

Parameters
PDF$pdfPDF object
int$pagenbPage nb
int$pagesPages
Translate$outputlangsObject lang
Returns
void

Definition at line 325 of file pdf_blochet.class.php.

References pdf_getPDFFontSize().

◆ Header()

BordereauChequeBlochet::Header ( $pdf,
  $page,
  $pages,
  $outputlangs 
)

Generate Header.

Parameters
PDF$pdfPdf object
int$pageCurrent page number
int$pagesTotal number of pages
Translate$outputlangsObject language for output
Returns
void

Definition at line 217 of file pdf_blochet.class.php.

◆ write_file()

BordereauChequeBlochet::write_file (   $object,
  $_dir,
  $number,
  $outputlangs 
)

Fonction to generate document on disk.

Parameters
RemiseCheque$objectObject RemiseCheque
string$_dirDirectory
string$numberNumber
Translate$outputlangsLang output object
Returns
int 1=ok, 0=ko

Definition at line 91 of file pdf_blochet.class.php.


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