permission_helper.php
Table of Contents
Functions
- permissionsAsArray() : array<string|int, mixed>
- Checks Permission for the current user and returns an array with Permissions
Functions
permissionsAsArray()
Checks Permission for the current user and returns an array with Permissions
permissionsAsArray(array<string|int, mixed> $globalPermissions[, array<string|int, mixed> $customPermissions = [] ]) : array<string|int, mixed>
Parameters
- $globalPermissions : array<string|int, mixed>
- $customPermissions : array<string|int, mixed> = []