Transfering netmail via EMSI
This commit is contained in:
@@ -42,9 +42,21 @@ class Setup extends Model
|
||||
public const PRODUCT_VERSION_MAJ = 0;
|
||||
public const PRODUCT_VERSION_MIN = 0;
|
||||
|
||||
public const hexdigitslower = '0123456789abcdef';
|
||||
|
||||
// Our non model attributes and values
|
||||
private array $internal = [];
|
||||
|
||||
public static function product_id(int $c=self::PRODUCT_ID): string
|
||||
{
|
||||
$x = substr(static::hexdigitslower,($c&0xf000)>>12,1);
|
||||
$x .= substr(static::hexdigitslower,($c&0x0f00)>>8,1);
|
||||
$x .= substr(static::hexdigitslower,($c&0x00f0)>>4,1);
|
||||
$x .= substr(static::hexdigitslower,($c&0x000f),1);
|
||||
|
||||
return $x;
|
||||
}
|
||||
|
||||
/* RELATIONS */
|
||||
|
||||
public function system()
|
||||
|
Reference in New Issue
Block a user