RSS Feed/News Chaining multiple relations

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,814
Points
823

Reputation:

My assumption is no, as I couldn't find this referenced anywhere after searching, but maybe someone knows for sure (or the correct syntax).

Can a XF Finder return the Relation of a Relation? Aka:

Code:

Code:
$finder = $this->finder('Sysnative\Addon:Entity1');
        $finder
            ->setDefaultOrder('id', 'ASC')
            ->with('Entity2, true)
            ->with('User');
        return $finder;

Where the relations are: Entity1 -> Entity2 -> User. (Aka User is a relation of Entity2...

Read more

Continue reading...
 
Status
Not open for further replies.
Top