Documentation

Relation
in package

Description of Relation

Tags
author

vitex

Table of Contents

$ref  : string
$showAs  : string
$target  : string
Taget evidence name
$value  : string|array<string|int, mixed>
Item in target evidence
__construct()  : mixed
Relation
__toString()  : string
Render value as string
getRelationTarget()  : RO
Obtain Relation target as Object

Properties

$target

Taget evidence name

public string $target

$value

Item in target evidence

public string|array<string|int, mixed> $value

Methods

__construct()

Relation

public __construct(string|array<string|int, mixed> $item, string $evidence[, string $ref = null ][, string $showAs = null ]) : mixed
Parameters
$item : string|array<string|int, mixed>

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
Return values
RO

Search results