امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I'm in need of some guidance when it comes to setting up multiple entity relations when extending a class (User in this instance).
This is my current User entity in my addon that I am extending
PHP:
Read more
This is my current User entity in my addon that I am extending
PHP:
کد:
<?php
namespace TaylorJ\Blogs\Entity;
use XF\MVC\Entity\Structure;
class User extends \XF\Entity\User
{
public static function getStructure(\XF\Mvc\Entity\Structure $structure)
{
$structure = parent::getStructure($structure);
$structure->relations = [...
Read more
