Chaining multiple relations

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:

Код:
$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

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ