Documentation

ReportMessagesGroupType
in package

Table of Contents

Properties

$types  : array<string|int, mixed>

Methods

getAllTypes()  : array<string|int, mixed>
getTypeById()  : array<string|int, mixed>|null
getTypeByLabel()  : int|null
getTypesByIds()  : array<string|int, mixed>

Properties

$types

private static array<string|int, mixed> $types = [0 => ['label' => "undefined", 'key' => "report_messages_group_undefined"], 1 => ['label' => "vatid", 'key' => "report_messages_group_vatid"], 2 => ['label' => "taxid", 'key' => "report_messages_group_taxid"], 3 => ['label' => "product", 'key' => "report_messages_group_product"], 4 => ['label' => "saft", 'key' => "report_messages_group_saft"], 5 => ['label' => "missing_value", 'key' => "report_messages_group_missing_value"], 6 => ['label' => "system_error", 'key' => "report_messages_group_system_error"], 7 => ['label' => "quality_check", 'key' => "report_messages_group_quality_check"]]

Methods

getAllTypes()

public static getAllTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTypeById()

public static getTypeById(int $id) : array<string|int, mixed>|null
Parameters
$id : int
Return values
array<string|int, mixed>|null

getTypeByLabel()

public static getTypeByLabel(string $label) : int|null
Parameters
$label : string
Return values
int|null

getTypesByIds()

public static getTypesByIds(array<string|int, mixed> $ids) : array<string|int, mixed>
Parameters
$ids : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results