dolibarr
x.y.z
|
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 $dbs, $origin_id, $dest_id) |
Function used to replace a thirdparty id with another one. More... | |
Class to manage withdrawals.
Definition at line 32 of file ligneprelevement.class.php.
LignePrelevement::__construct | ( | $db | ) |
Constructor.
DoliDb | $db | Database handler |
Definition at line 52 of file ligneprelevement.class.php.
LignePrelevement::fetch | ( | $rowid | ) |
Recupere l'objet prelevement.
int | $rowid | Id de la facture a recuperer |
Definition at line 72 of file ligneprelevement.class.php.
LignePrelevement::getLibStatut | ( | $mode = 0 | ) |
Return status label of object.
int | $mode | 0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto |
Definition at line 118 of file ligneprelevement.class.php.
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 131 of file ligneprelevement.class.php.
|
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 175 of file ligneprelevement.class.php.