GB_User::get_role_caps
Retrieve all of the role capabilities and merge with individual capabilities.
All of the capabilities of the roles the user belongs to are merged with the users individual roles. This also means that the user can be denied specific roles that their role might have, but the specific user isn't granted permission to.
Signature
public function get_role_caps()
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
406 | 5 | error | Method name "GB_User::get_role_caps" is not in camel caps format |
406 | 5 | error | Visibility must be declared on method "get_role_caps" |
411 | 9 | error | Inline control structures are not allowed |