CB_Core_Role_Manager
in package
CB Core Roles Component
Helps manage roles and capabilities within the application.
Tags
Table of Contents
Properties
- $data : mixed
- It's a secret.
Methods
- __construct() : mixed
- Construct the role manager.
- __get() : mixed
- Magic method for getting ConfettiBits variables.
- __set() : mixed
- Magic method for setting ConfettiBits variables.
- setup_actions() : mixed
- Adds an action to setup global values for roles.
- setup_globals() : mixed
- Sets up global values based on provided data.
Properties
$data
It's a secret.
private
mixed
$data
Methods
__construct()
Construct the role manager.
public
__construct() : mixed
__get()
Magic method for getting ConfettiBits variables.
public
__get(string $key) : mixed
Parameters
- $key : string
-
Key to return the value for.
Tags
__set()
Magic method for setting ConfettiBits variables.
public
__set(string $key, mixed $value) : mixed
Parameters
- $key : string
-
Key to set a value for.
- $value : mixed
-
Value to set.
Tags
setup_actions()
Adds an action to setup global values for roles.
public
setup_actions() : mixed
setup_globals()
Sets up global values based on provided data.
public
setup_globals() : mixed