public isForeignKey () Check whether the relation act as a foreign key
public getIntermediateModel () Gets the intermediate model for has-*-through relations
public array getParams () Returns parameters that must be always used when the related records are obtained
implements Phalcon\Mvc\Model\Relatio
public isReusable () Check if records returned by getting belongs-to/has-many are implicitly cached during the current request
public getOption (mixed $name) Returns an option by the specified name If the option doesn’t exist null is returned
integer NO_ACTION
public string | array getReferencedFields () Returns the referenced fields
integer ACTION_RESTRICT
public isThrough () Check whether the relation is a ‘many-to-many’ relation or not
Page 1 of 3