Get, find or save roles ($roles API variable as a function)
roles() is exactly the same as accessing
$roles. Though there are a couple of optional
shortcuts available by providing an argument to this function.
// basic usage $roles = roles(); // usage with all arguments $roles = roles($selector = '');
API reference based on ProcessWire core version 3.0.209