relations

  1. CMTV

    XF 2.0 Create relation entity if not exists

    Hi! I want for Trophy entity to have default relation with TrophyData entity. $structure->relations = array_merge($structure->relations, [ 'UP' => [ 'entity' => 'UserProgression:TrophyData', 'type' => self::TO_ONE, 'conditions' => 'trophy_id', 'primary' =>...
  2. WeaponOwl

    XF 2.0 TO_MANY relation and templates

    Hello. I see very strange behaviour. I have entity 'MissionRecord' with TO_MANY relation to 'NpcMissionRecord', if try load this entity with relation using default finder $this->finder('.../MissionRecord') ->with('NpcMissionRecord') ->where('id', $id) ->fetch(); i receive...
Back
Top Bottom