Korin API

SourceSystem
in package

Read onlyYes
FinalYes

The program that wrote a file, from HEAD.SOUR: the system identifier, its VERS and NAME (5.x and 7.0 alike), and the {@see Program} when the identifier is known. The version is HEAD.SOUR.VERS, or the number in the identifier when there is no VERS ("PAF 2.31").

Table of Contents

Properties

$identifier  : string
$name  : string|null
$version  : string|null

Methods

__construct()  : mixed
isBefore()  : bool
Whether the version is known and lower than $version, compared number by number.
of()  : self|null
The source system of a HEAD; null without HEAD.SOUR.
program()  : Program|null
version()  : string|null
HEAD.SOUR.VERS, or the version in the identifier ("PAF 5.0").

Properties

Methods

__construct()

public __construct(string $identifier[, string|null $version = null ][, string|null $name = null ]) : mixed
Parameters
$identifier : string
$version : string|null = null
$name : string|null = null

isBefore()

Whether the version is known and lower than $version, compared number by number.

public isBefore(string $version) : bool
Parameters
$version : string
Return values
bool

of()

The source system of a HEAD; null without HEAD.SOUR.

public static of(Node $head) : self|null
Parameters
$head : Node
Return values
self|null

version()

HEAD.SOUR.VERS, or the version in the identifier ("PAF 5.0").

public version() : string|null
Return values
string|null
On this page

Search results