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

Class to manage withdrawals. More...

Public Member Functions

 __construct ($db, $user)
 Constructor. More...
 
 fetch ($rowid)
 Recupere l'objet prelevement. More...
 
 getLibStatut ($mode=0)
 Return status label of object. More...
 
 LibStatut ($statut, $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,
  $user 
)

Constructor.

Parameters
DoliDb$dbDatabase handler
User$userObjet user

Definition at line 53 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

Definition at line 74 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 126 of file ligneprelevement.class.php.

◆ LibStatut()

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

Return status label for a status.

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

Definition at line 139 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 176 of file ligneprelevement.class.php.


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