21 $this->ref_id = $a_ref_id;
41 global $rbacreview, $rbacadmin;
43 $role_list = $rbacreview->getRoleListByObject($this->
getRefId());
44 foreach ($role_list as $role)
46 if(strpos($role[
'title'],
'il_frm_moderator') !==
false)
48 $a_rol_id = $role[
'obj_id'];
55 $user = $rbacadmin->assignUser($a_rol_id, $a_usr_id);
64 global $rbacreview, $rbacadmin;
66 $role_list = $rbacreview->getRoleListByObject($this->
getRefId());
67 foreach ($role_list as $role)
69 if(strpos($role[
'title'],
'il_frm_moderator') !==
false)
71 $a_rol_id = $role[
'obj_id'];
78 $user = $rbacadmin->deassignUser($a_rol_id, $a_usr_id);
89 $roles = $rbacreview->getRoleListByObject($this->
getRefId());
90 foreach($roles as $role)
92 if(strpos($role[
'title'],
'il_frm_moderator') !==
false)
94 $assigned_users = $rbacreview->assignedUsers($role[
'rol_id']);
98 return is_array($assigned_users) ? $assigned_users :
array();
106 $roles = $rbacreview->getRoleListByObject($this->
getRefId());
107 foreach($roles as $role)
109 if(strpos($role[
'title'],
'il_frm_moderator') !==
false)
111 $assigned_users = $rbacreview->assignedUsers($role[
'rol_id']);
116 return is_array($assigned_users) ? $assigned_users :
array();
detachModeratorRole($a_usr_id)
Create styles array
The data for the language used.
addModeratorRole($a_usr_id)