[RSS Feed/News] Extending user groups

Status
Not open for further replies.

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:
<?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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom