|
noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
|
create a standard invoice More...
Inheritance diagram for Noalyss\Invoice_PDF:
Collaboration diagram for Noalyss\Invoice_PDF:Public Member Functions | |
| __construct (\Database $cn, private $dirname, private $filename) | |
| footer () | |
| get_data () | |
| get_dirname () | |
| get_filename () | |
| header () | |
| set_data ($array) | |
| set_dirname ($dirname) | |
| set_filename ($filename) | |
Public Member Functions inherited from PDF | |
| __construct (Database $p_cn, $orientation='P', $unit='mm', $format='A4') | |
| Footer () | |
| get_tiers ($p_jr_id, $p_jrn_type) | |
| retrieve the client name and quick_code | |
| Header () | |
| set_filter_operation ($filter_operation) | |
| setDossierInfo ($dossier="n/a") | |
Public Member Functions inherited from PDF_Core | |
| __construct ( $orientation='P', $unit='mm', $format='A4') | |
| fill_row ($enable) | |
| set color for row , | |
| get_margin_bottom () | |
| get_margin_left () | |
| get_margin_right () | |
| get_margin_top () | |
| get_orientation () | |
| get_page_size () | |
| get_unit () | |
| is_fill ($p_step) | |
| If the step is even then return 1 and set the backgroup color to blue , otherwise returns 0, and set the background color to white It is use to compute alternated colored row , it the parameter fill in write_cell and cell. | |
| line_new ($p_step=null) | |
| Print all the cell stored and call Ln (new line) | |
| LongLine ($w, $h, $txt, $border=0, $align='', $fill=false) | |
| add a cell with automatic return to the line if the text is too long, deprecated , it calls only PDFCore::write_cell_ | |
| write_cell ($width, $height=0, $txt='', $border=0, $interline=0, $align='', $fill=false, $link='') | |
| add a cell the text is not cut and don't return to this line if too large | |
| write_multi ($width, $interline, $txt, $border=0, $align='', $fill=false) | |
| add a cell with automatic return to the line if the text is too long | |
Private Attributes | |
| $data | |
| $data (array) see Acc_Ledger_Purchases | |
Additional Inherited Members | |
Static Public Member Functions inherited from PDF | |
| static | test_me () |
| test the class | |
Data Fields inherited from PDF | |
| $cn = null | |
| $date = "" | |
| $dossier = "n/a" | |
| $own = null | |
| $soc = "" | |
Protected Member Functions inherited from PDF_Core | |
| add_cell (Cellule $Ce) | |
| check_page_add () | |
| Check if a page must be added due a MultiCell. | |
| count_nb_row ($p_text, $p_colSize) | |
| Count the number of rows a p_text will take for a multicell. | |
| print_row () | |
| print the current array of cell and reset it , if different colors are set on the same row you have to print it before changing | |
Protected Attributes inherited from PDF_Core | |
| $bigger | |
| $cells =array() | |
create a standard invoice
Definition at line 34 of file invoice_pdf.class.php.
| Noalyss\Invoice_PDF::__construct | ( | \Database | $cn, |
| private | $dirname, | ||
| private | $filename ) |
| $dirname | folder where to save file |
| $filename | filename to use |
Definition at line 39 of file invoice_pdf.class.php.
| Noalyss\Invoice_PDF::footer | ( | ) |
Definition at line 81 of file invoice_pdf.class.php.
| Noalyss\Invoice_PDF::get_data | ( | ) |
Definition at line 76 of file invoice_pdf.class.php.
References $data.
| Noalyss\Invoice_PDF::get_dirname | ( | ) |
Definition at line 48 of file invoice_pdf.class.php.
References $dirname.
| Noalyss\Invoice_PDF::get_filename | ( | ) |
Definition at line 53 of file invoice_pdf.class.php.
| Noalyss\Invoice_PDF::header | ( | ) |
Definition at line 92 of file invoice_pdf.class.php.
References $g_parameter, _, cn, PDF_Core\line_new(), and PDF_Core\write_multi().
Here is the call graph for this function:| Noalyss\Invoice_PDF::set_data | ( | $array | ) |
Definition at line 70 of file invoice_pdf.class.php.
References $array.
| Noalyss\Invoice_PDF::set_dirname | ( | $dirname | ) |
Definition at line 58 of file invoice_pdf.class.php.
References $dirname.
| Noalyss\Invoice_PDF::set_filename | ( | $filename | ) |
Definition at line 64 of file invoice_pdf.class.php.
|
private |
$data (array) see Acc_Ledger_Purchases
Definition at line 37 of file invoice_pdf.class.php.