dolibarr  7.0.0-beta
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

LignePrelevement::__construct (   $db,
  $user 
)

Constructor.

Parameters
DoliDb$dbDatabase handler
User$userObjet user

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

References user.

Member Function Documentation

LignePrelevement::fetch (   $rowid)

Recupere l'objet prelevement.

Parameters
int$rowidid de la facture a recuperer
Returns
integer

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

References $resql, and dol_syslog().

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 119 of file ligneprelevement.class.php.

References 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 131 of file ligneprelevement.class.php.

References img_picto().

Referenced by getLibStatut().

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 167 of file ligneprelevement.class.php.

References CommonObject\commonReplaceThirdparty().


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