dolibarr 18.0.6
modules_fichinter.php File Reference

File that contains parent class for PDF interventions models and parent class for interventions numbering models. More...

Go to the source code of this file.

Classes

class  ModelePDFFicheinter
 Parent class to manage intervention document templates. More...
 
class  ModeleNumRefFicheinter
 Parent class numbering models of intervention sheet references. More...
 

Functions

 fichinter_create ($db, $object, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
 Create an intervention document on disk using template defined into FICHEINTER_ADDON_PDF.
 

Detailed Description

File that contains parent class for PDF interventions models and parent class for interventions numbering models.

Definition in file modules_fichinter.php.

Function Documentation

◆ fichinter_create()

fichinter_create ( $db,
$object,
$modele,
$outputlangs,
$hidedetails = 0,
$hidedesc = 0,
$hideref = 0 )

Create an intervention document on disk using template defined into FICHEINTER_ADDON_PDF.

Parameters
DoliDB$dbobjet base de donnee
Object$objectObject fichinter
string$modeleforce le modele a utiliser ('' par defaut)
Translate$outputlangsobjet lang a utiliser pour traduction
int$hidedetailsHide details of lines
int$hidedescHide description
int$hiderefHide ref
Returns
int 0 if KO, 1 if OK

Definition at line 174 of file modules_fichinter.php.

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