dolibarr  16.0.5
Public Member Functions | Static Public Member Functions | List of all members
LignePrelevement Class Reference

Class to manage withdrawals. More...

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 fetch ($rowid)
 Recupere l'objet prelevement. More...
 
 getLibStatut ($mode=0)
 Return status label of object. More...
 
 LibStatut ($status, $mode=0)
 Return status label for a status. More...
 

Static Public Member Functions

static replaceThirdparty (DoliDB $db, $origin_id, $dest_id)
 Function used to replace a thirdparty id with another one. More...
 

Detailed Description

Class to manage withdrawals.

Definition at line 32 of file ligneprelevement.class.php.

Constructor & Destructor Documentation

◆ __construct()

LignePrelevement::__construct (   $db)

Constructor.

Parameters
DoliDb$dbDatabase handler

Definition at line 52 of file ligneprelevement.class.php.

Member Function Documentation

◆ fetch()

LignePrelevement::fetch (   $rowid)

Recupere l'objet prelevement.

Parameters
int$rowidId de la facture a recuperer
Returns
integer <0 if KO, >=0 if OK

Definition at line 72 of file ligneprelevement.class.php.

◆ getLibStatut()

LignePrelevement::getLibStatut (   $mode = 0)

Return status label of object.

Parameters
int$mode0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto
Returns
string Label

Definition at line 118 of file ligneprelevement.class.php.

◆ LibStatut()

LignePrelevement::LibStatut (   $status,
  $mode = 0 
)

Return status label for a status.

Parameters
int$statusId status
int$mode0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto
Returns
string Label

Definition at line 131 of file ligneprelevement.class.php.

◆ replaceThirdparty()

static LignePrelevement::replaceThirdparty ( DoliDB  $db,
  $origin_id,
  $dest_id 
)
static

Function used to replace a thirdparty id with another one.

Parameters
DoliDB$dbDatabase handler
int$origin_idOld thirdparty id
int$dest_idNew thirdparty id
Returns
bool

Definition at line 175 of file ligneprelevement.class.php.


The documentation for this class was generated from the following file: