Mvc\Model\RelationInterface

Interface Phalcon\Mvc\Model\RelationInterface

Phalcon\Mvc\Model\RelationInterface initializer

Methods

abstract public setIntermediateRelation (string|array $intermediateFields, string $intermediateModel, string $intermediateReferencedFields)

Sets the intermediate model dat for has-*-through relations

abstract public int getType ()

Returns the relations type

abstract public string getReferencedModel ()

Returns the referenced model

abstract public string|array getFields ()<