|
dolibarr 18.0.8
|
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 | ) |
Constructor.
| DoliDb | $db | Database handler |
Definition at line 58 of file ligneprelevement.class.php.
| LignePrelevement::fetch | ( | $rowid | ) |
Recupere l'objet prelevement.
| int | $rowid | Id de la facture a recuperer |
Definition at line 78 of file ligneprelevement.class.php.
References dol_syslog(), and statut.
| LignePrelevement::getLibStatut | ( | $mode = 0 | ) |
Return status label of object.
| int | $mode | 0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto |
Definition at line 124 of file ligneprelevement.class.php.
References LibStatut(), and statut.
| 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 137 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 180 of file ligneprelevement.class.php.
References CommonObject\commonReplaceThirdparty().