Get permission mask
This function only supports getting permissions of one type (for example a_)
public get_mask ( set | view $mode, mixed $user_id = false, mixed $group_id = false, mixed $forum_id = false, string $auth_option = false, local | global $scope = false, ACL_NEVER | ACL_NO | ACL_YES $acl_fill = ACL_NEVER ) | ||
$mode | set | view | defines the permissions we get, view gets effective permissions (checking user AND group permissions), set only gets the user or group permission set alone |
$user_id | mixed | user ids to search for (a user_id or a group_id has to be specified at least) |
$group_id | mixed | group ids to search for, return group related settings (a user_id or a group_id has to be specified at least) |
$forum_id | mixed | forum_ids to search for. Defining a forum id also means getting local settings |
$auth_option | string | the auth_option defines the permission setting to look for (a_ for example) |
$scope | local | global | the scope defines the permission scope. If local, a forum_id is additionally required |
$acl_fill | ACL_NEVER | ACL_NO | ACL_YES | defines the mode those permissions not set are getting filled with |