ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Interface **Phalcon\Mvc\Model\RelationInterface**[](# "永久链接至标题") ### Methods[](# "永久链接至标题") abstract public **__construct** (*unknown* $type, *unknown* $referencedModel, *unknown* $fields, *unknown* $referencedFields, [*unknown* $options]) ... abstract public **setIntermediateRelation** (*unknown* $intermediateFields, *unknown* $intermediateModel, *unknown* $intermediateReferencedFields) ... abstract public **isReusable** () ... abstract public **getType** () ... abstract public **getReferencedModel** () ... abstract public **getFields** () ... abstract public **getReferencedFields** () ... abstract public **getOptions** () ... abstract public **isForeignKey** () ... abstract public **getForeignKey** () ... abstract public **isThrough** () ... abstract public **getIntermediateFields** () ... abstract public **getIntermediateModel** () ... abstract public **getIntermediateReferencedFields** () ... | - [索引](# "总目录") - [下一页](# "Interface Phalcon\Mvc\Model\ResultInterface") | - [上一页](# "Interface Phalcon\Mvc\Model\Query\StatusInterface") | - [API Indice](#) »