IJunction

A class that contains extra data for a relation between to IModel instances is called a junction class and must implement this interface.
IModel classes that have data properties which are arrays of other models, sometimes it is required to store extra data with each array item, a junction class is for this reason. The name of a junction* class should be a combination of the two model names e.g. "Model1_Model2" where Model1 or Model2 or both contain an array data property of the other model.
Source
IJunction.php
Implementations
Junction

Methods

cols

array $obj->cols()

A dictionary of all junction data properties and their definitions.

Returns

array
{property-name:{property-definition},}

properties

array $obj->properties()

A list of junction data properties.

Returns

array
[property-name,]

reset

IJunction $obj->reset()

Reset junction, empty data and set things like the object is first initialized.

Returns

IJunction
for method chaining

values

array $obj->values()

A dictionary of junction data properties and their value.

Returns

array
{property-name:value,}