dolibarr 18.0.6
modules_cards.php File Reference

File of parent class of document generator for members cards. More...

Go to the source code of this file.

Classes

class  ModelePDFCards
 Parent class of document generator for members cards. More...
 

Functions

 members_card_pdf_create ($db, $arrayofmembers, $modele, $outputlangs, $outputdir='', $template='standard', $filename='tmp_cards')
 Cree un fichier de cartes de visites en fonction du modele de ADHERENT_CARDS_ADDON_PDF.
 

Detailed Description

File of parent class of document generator for members cards.

Definition in file modules_cards.php.

Function Documentation

◆ members_card_pdf_create()

members_card_pdf_create ( $db,
$arrayofmembers,
$modele,
$outputlangs,
$outputdir = '',
$template = 'standard',
$filename = 'tmp_cards' )

Cree un fichier de cartes de visites en fonction du modele de ADHERENT_CARDS_ADDON_PDF.

Parameters
DoliDB$dbDatabase handler
array$arrayofmembersArray of members
string$modeleForce modele to use ('' to not force)
Translate$outputlangsObject langs to use for translation
string$outputdirOutput directory
string$templatepdf generenate document class to use default 'standard'
string$filenameName of output file (without extension)
Returns
int <0 if KO, >0 if OK

Definition at line 78 of file modules_cards.php.

References dol_buildpath(), dol_print_error(), and dol_strlen().