\Iqrf\Repository\EntitiesStandardDetail

Detailed IQRF Standard entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getId()
getName()
getVersion()
getVersionFlags()
getDriver()
getNotes()
jsonSerialize()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$id
$name
$version
$versionFlags
$driver
$notes
N/A

Properties

$id

$id : int

Type

int — Standard ID

$name

$name : string

Type

string — Standard name

$version

$version : float

Type

float — Standard version

$versionFlags

$versionFlags : int

Type

int — Flags for this version

$driver

$driver : string

Type

string — Driver code

$notes

$notes : string

Type

string — Notes

Methods

__construct()

__construct(int  $id, string  $name, float  $version, int  $versionFlags, string  $driver, string  $notes) : mixed

Constructor

Parameters

int $id

Standard ID

string $name

Standard name

float $version

Standard version

int $versionFlags

Flags for this version

string $driver

Driver code

string $notes

Notes

Returns

mixed —

fromArray()

fromArray(array<string,int|string>  $data) : \Iqrf\Repository\Entities\StandardDetail

Creates an new detailed IQRF Standard entity from an array

Parameters

array $data

JSON data an an array

Returns

\Iqrf\Repository\Entities\StandardDetail —

Created detailed IQRF Standard entity

getId()

getId() : int

Returns the standard ID

Returns

int —

Standard ID

getName()

getName() : string

Returns the standard name

Returns

string —

Standard name

getVersion()

getVersion() : float

Returns the standard version

Returns

float —

Standard versions

getVersionFlags()

getVersionFlags() : int

Returns the flags for this version

Returns

int —

Flags for this version

getDriver()

getDriver() : string

Returns the driver code

Returns

string —

Driver code

getNotes()

getNotes() : string

Returns the notes

Returns

string —

Notes

jsonSerialize()

jsonSerialize() : array<string,float|int|string>

Serializes the detailed IQRF Standard entity into JSON

Returns

array

JSON serialized detailed IQRF Standard entity