XenForo
Administrative
- Thread starter
- Admin
- #1
I want to extend the UserGroup class and to implement group permission and defining relationship on column user_group_id and entity XF:User, so here is my entity:
Read more
ادامه مطلب...
<?php
namespace usergrouplegend\Entity;
use \XF\Mvc\Entity\Structure;
class UserGroup extends XFCP_UserGroup {
public static function getStructure(Structure $structure){
$structure->table = 'xf_user_group';
$structure->getters = [
'PermissionSet' => [
'getter' => true...
Click to expand...
Read more
ادامه مطلب...