implements Phalcon\Mvc\Model\RelationInterface
Source on GitHub
This class represents a relationship between two models
Constants
integer BELONGS_TO
integer HAS_ONE
integer HAS_MANY
integer HAS_ONE_THROUGH
integer HAS_MANY_THROUGH
integer NO_ACTION
integer ACTION_RESTRICT
integer ACTION_CASCADE
Methods
public __construct (int $type, string $referencedModel, string | array $fields, string | array $referencedFields, [array $options])
Phalcon\Mvc\Model\Relation constructor
public s