add TRIGGER_PREFIX in workstation.class.php (#35508)

This commit is contained in:
Frédéric FRANCE 2025-09-26 23:52:51 +02:00 committed by GitHub
parent 6b433afab1
commit 5ae9e3fc51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,11 @@ class Workstation extends CommonObject
*/
public $picto = 'workstation';
/**
* @var string Prefix to check for any trigger code of any business class to prevent bad value for trigger code.
* @see CommonTrigger::call_trigger()
*/
public $TRIGGER_PREFIX = 'WORKSTATION';
const STATUS_DISABLED = 0;
const STATUS_ENABLED = 1;