CoolCMS API

StockReservationStatus
in package

Stock reservation statuses (cms_mod_store_stock_reservations.status). Rows are never deleted — status changes keep the audit trail and idempotence per source ref.

Single canonical copy shared by all Store layers.

Table of Contents

Constants

ACTIVE  : mixed = 1
CONFIRMED  : mixed = 2
EXPIRED  : mixed = 4
RELEASED  : mixed = 3
STATUS_NAMES  : array<int, string> = [self::ACTIVE => 'Active', self::CONFIRMED => '...

Methods

getStatusName()  : string|null

Constants

STATUS_NAMES

public array<int, string> STATUS_NAMES = [self::ACTIVE => 'Active', self::CONFIRMED => 'Confirmed', self::RELEASED => 'Released', self::EXPIRED => 'Expired']

Methods

getStatusName()

public static getStatusName(int $status) : string|null
Parameters
$status : int
Return values
string|null
On this page

Search results