Class to build sending documents with model Eagle.
More...
|
| | __construct ($db=0) |
| | Constructor. More...
|
| |
| | write_file ($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0) |
| | Function to build pdf onto disk. More...
|
| |
| | atLeastOneBatch ($object) |
| |  * Used to know if at least one line of Stock Transfer object has a batch set  * 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) |
| | Show table for lines. More...
|
| |
| | _pagehead (&$pdf, $object, $showaddress, $outputlangs) |
| | Show top header of page. More...
|
| |
| | _pagefoot (&$pdf, $object, $outputlangs, $hidefreetext=0) |
| | Show footer of page. More...
|
| |
Class to build sending documents with model Eagle.
Definition at line 40 of file pdf_eagle.modules.php.
◆ __construct()
| pdf_eagle::__construct |
( |
|
$db = 0 | ) |
|
◆ _pagefoot()
| pdf_eagle::_pagefoot |
( |
& |
$pdf, |
|
|
|
$object, |
|
|
|
$outputlangs, |
|
|
|
$hidefreetext = 0 |
|
) |
| |
|
protected |
Show footer of page.
Need this->emetteur object
- Parameters
-
| PDF | $pdf | PDF |
| Object | $object | Object to show |
| Translate | $outputlangs | Object lang for output |
| int | $hidefreetext | 1=Hide free text |
- Returns
- int Return height of bottom margin including footer text
Definition at line 1169 of file pdf_eagle.modules.php.
◆ _pagehead()
| pdf_eagle::_pagehead |
( |
& |
$pdf, |
|
|
|
$object, |
|
|
|
$showaddress, |
|
|
|
$outputlangs |
|
) |
| |
|
protected |
Show top header of page.
- Parameters
-
| TCPDF | $pdf | Object PDF |
| Object | $object | Object to show |
| int | $showaddress | 0=no, 1=yes |
| Translate | $outputlangs | Object lang for output |
- Returns
- void
Definition at line 904 of file pdf_eagle.modules.php.
◆ _tableau()
| pdf_eagle::_tableau |
( |
& |
$pdf, |
|
|
|
$tab_top, |
|
|
|
$tab_height, |
|
|
|
$nexY, |
|
|
|
$outputlangs, |
|
|
|
$hidetop = 0, |
|
|
|
$hidebottom = 0 |
|
) |
| |
|
protected |
Show table for lines.
- Parameters
-
| PDF | $pdf | Object PDF |
| string | $tab_top | Top position of table |
| string | $tab_height | Height of table (rectangle) |
| int | $nexY | Y |
| Translate | $outputlangs | Langs object |
| int | $hidetop | Hide top bar of array |
| int | $hidebottom | Hide bottom bar of array |
- Returns
- void
Definition at line 790 of file pdf_eagle.modules.php.
◆ _tableau_tot()
| pdf_eagle::_tableau_tot |
( |
& |
$pdf, |
|
|
|
$object, |
|
|
|
$deja_regle, |
|
|
|
$posy, |
|
|
|
$outputlangs |
|
) |
| |
|
protected |
◆ atLeastOneBatch()
| pdf_eagle::atLeastOneBatch |
( |
|
$object | ) |
|
 * Used to know if at least one line of Stock Transfer object has a batch set  *
- Parameters
-
| Object | $object | Stock Transfer object |
- Returns
- boolean true if at least one line has batch set, false if not 
Definition at line 876 of file pdf_eagle.modules.php.
◆ write_file()
| pdf_eagle::write_file |
( |
|
$object, |
|
|
|
$outputlangs, |
|
|
|
$srctemplatepath = '', |
|
|
|
$hidedetails = 0, |
|
|
|
$hidedesc = 0, |
|
|
|
$hideref = 0 |
|
) |
| |
Function to build pdf onto disk.
- Parameters
-
| Object | $object | Object StockTransfer to generate (or id if old method) |
| Translate | $outputlangs | Lang output object |
| string | $srctemplatepath | Full path of source filename for generator using a template file |
| int | $hidedetails | Do not show line details |
| int | $hidedesc | Do not show desc |
| int | $hideref | Do not show ref |
- Returns
- int 1=OK, 0=KO
Definition at line 194 of file pdf_eagle.modules.php.
The documentation for this class was generated from the following file: