integer HAS_MANY_THROUGH
public setIntermediateRelation (string | array $intermediateFields, string $intermediateModel, string $intermediateReferencedFields) Sets the intermediate model data for has-*-through relations
public isThrough () Check whether the relation is a ‘many-to-many’ relation or not
integer HAS_ONE_THROUGH
public isReusable () Check if records returned by getting belongs-to/has-many are implicitly cached during the current request
integer HAS_ONE
public isForeignKey () Check whether the relation act as a foreign key
public string | array getOptions () Returns the options
public array getParams () Returns parameters that must be always used when the related records are obtained
integer HAS_MANY
Page 107 of 382