Relation
in package
Description of Relation.
Tags
Table of Contents
- $ref : string|null
- $showAs : string|null
- $target : string
- Target evidence name.
- $value : array<string|int, mixed>|string
- Item in target evidence.
- __construct() : mixed
- Relation.
- __toString() : string
- Render value as string.
- getRelationTarget() : RO
- Obtain Relation target as Object.
Properties
$ref
public
string|null
$ref
$showAs
public
string|null
$showAs
$target
Target evidence name.
public
string
$target
$value
Item in target evidence.
public
array<string|int, mixed>|string
$value
Methods
__construct()
Relation.
public
__construct(array<string|int, mixed>|string $item, string $evidence[, string $ref = null ][, string $showAs = null ]) : mixed
Parameters
- $item : array<string|int, mixed>|string
-
Record identifier
- $evidence : string
-
Record's evidence
- $ref : string = null
-
Reference path
- $showAs : string = null
-
Item caption
Return values
mixed —__toString()
Render value as string.
public
__toString() : string
Return values
string —getRelationTarget()
Obtain Relation target as Object.
public
getRelationTarget() : RO