امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Can somebody please help me understand what I have done wrong here?
I have the following class extension saved in LifeSpot/ThreadSummary/XF/Entity/Thread.php:
PHP:
Read more
I have the following class extension saved in LifeSpot/ThreadSummary/XF/Entity/Thread.php:
PHP:
کد:
<?php
namespace LifeSpot\ThreadSummary\XF\Entity;
use XF\Mvc\Entity\Structure;
use XF\Mvc\Entity\Entity;
class Thread extends XFCP_Thread
{
public static function getStructure(Structure $structure)
{
$structure = parent::getStructure($structure);
$structure->relations['Summary'] = [
'entity'...
Read more
