A lot of things.

This commit is contained in:
2026-06-08 16:25:52 +02:00
parent 8eb94ff05d
commit 4415a2e8c4
55 changed files with 995 additions and 163 deletions

22
XF/Entity/Forum.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
namespace RomhackPlaza\Master\XF\Entity;
use XF\Mvc\Entity\Structure;
class Forum extends XFCP_Forum
{
public static function getStructure(Structure $structure)
{
$structure = parent::getStructure($structure);
$structure->relations['Club'] = [
'entity' => 'RomhackPlaza\Master:Club',
'type' => self::TO_ONE,
'conditions' => 'node_id',
'primary' => false
];
return $structure;
}
}