|
dolibarr 21.0.0-beta
|
File of trait for common signed business objects (contracts, interventions, ...) More...
Go to the source code of this file.
Functions | |
| getSignedStatusLocalisedArray () | |
| Returns an array of signed statuses with associated localized labels. | |
| setSignedStatus (User $user, int $status=0, int $notrigger=0, string $triggercode='') | |
| Set signed status & object context. | |
| setSignedStatusCommon (User $user, int $status, int $notrigger=0, string $triggercode='') | |
| Set signed status & call trigger with context message. | |
| getLibSignedStatus (int $mode=0) | |
| Returns the label for signed status. | |
File of trait for common signed business objects (contracts, interventions, ...)
Definition in file commonsignedobject.class.php.
| getLibSignedStatus | ( | int | $mode = 0 | ) |
Returns the label for signed status.
| int | $mode | 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto |
Definition at line 177 of file commonsignedobject.class.php.
References dolGetStatus(), and getSignedStatusLocalisedArray().
Referenced by Expedition\LibStatut(), and Fichinter\LibStatut().
| getSignedStatusLocalisedArray | ( | ) |
Returns an array of signed statuses with associated localized labels.
Definition at line 60 of file commonsignedobject.class.php.
Referenced by getLibSignedStatus().
| setSignedStatus | ( | User | $user, |
| int | $status = 0, | ||
| int | $notrigger = 0, | ||
| string | $triggercode = '' ) |
Set signed status & object context.
Call sign action trigger.
| User | $user | Object user that modify |
| int | $status | New signed status to set (often a constant like self\STATUS_XXX) |
| int | $notrigger | 1 = Does not execute triggers, 0 = Execute triggers |
| string | $triggercode | Trigger code to use |
Definition at line 89 of file commonsignedobject.class.php.
References setSignedStatusCommon().
| setSignedStatusCommon | ( | User | $user, |
| int | $status, | ||
| int | $notrigger = 0, | ||
| string | $triggercode = '' ) |
Set signed status & call trigger with context message.
| User | $user | Object user that modify |
| int | $status | New signed status to set (often a constant like self\STATUS_XXX) |
| int | $notrigger | 1 = Does not execute triggers, 0 = Execute triggers |
| string | $triggercode | Trigger code to use |
Definition at line 124 of file commonsignedobject.class.php.
References setEventMessages().
Referenced by Commande\setSignedStatus(), and setSignedStatus().