dolibarr  16.0.5
Classes | Functions
modules_labels.php File Reference

File of parent class of document generator for members labels sheets. More...

Go to the source code of this file.

Classes

class  ModelePDFLabels
 Parent class of document generator for address sheet. More...
 

Functions

 doc_label_pdf_create ($db, $arrayofrecords, $modele, $outputlangs, $outputdir='', $template='standardlabel', $filename='tmp_address_sheet.pdf')
 Create a document onto disk according to template module. More...
 

Detailed Description

File of parent class of document generator for members labels sheets.

Definition in file modules_labels.php.

Function Documentation

◆ doc_label_pdf_create()

doc_label_pdf_create (   $db,
  $arrayofrecords,
  $modele,
  $outputlangs,
  $outputdir = '',
  $template = 'standardlabel',
  $filename = 'tmp_address_sheet.pdf' 
)

Create a document onto disk according to template module.

Parameters
DoliDB$dbDatabase handler
array$arrayofrecordsArray of records
string$modeleForce le modele a utiliser ('' to not force)
Translate$outputlangsObjet lang a utiliser pour traduction
string$outputdirOutput directory
string$templatepdf generenate document class to use default 'standardlabel'
string$filenameShort file name of PDF output file
Returns
int <0 if KO, >0 if OK

Definition at line 80 of file modules_labels.php.