dolibarr  18.0.0-alpha
Classes | Functions
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. More...
 

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 171 of file modules_fichinter.php.