dolibarr 21.0.0-beta
|
Class to manage withdrawals. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
fetch ($rowid) | |
Recupere l'objet prelevement. | |
getLibStatut ($mode=0) | |
Return status label of object. | |
LibStatut ($status, $mode=0) | |
Return status label for a status. | |
Static Public Member Functions | |
static | replaceThirdparty (DoliDB $dbs, $origin_id, $dest_id) |
Function used to replace a thirdparty id with another one. | |
Class to manage withdrawals.
Definition at line 32 of file ligneprelevement.class.php.
LignePrelevement::__construct | ( | $db | ) |
LignePrelevement::fetch | ( | $rowid | ) |
Recupere l'objet prelevement.
int | $rowid | Id de la facture a recuperer |
Definition at line 103 of file ligneprelevement.class.php.
References $conf, and dol_syslog().
LignePrelevement::getLibStatut | ( | $mode = 0 | ) |
Return status label of object.
int | $mode | 0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto |
Definition at line 149 of file ligneprelevement.class.php.
References LibStatut().
LignePrelevement::LibStatut | ( | $status, | |
$mode = 0 ) |
Return status label for a status.
int | $status | Id status |
int | $mode | 0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto |
Definition at line 162 of file ligneprelevement.class.php.
References img_picto().
Referenced by getLibStatut().
|
static |
Function used to replace a thirdparty id with another one.
DoliDB | $dbs | Database handler, because function is static we name it $dbs not $db to avoid breaking coding test |
int | $origin_id | Old thirdparty id |
int | $dest_id | New thirdparty id |
Definition at line 206 of file ligneprelevement.class.php.
References CommonObject\commonReplaceThirdparty().