The Hubzilla
 All Classes Namespaces Files Functions Variables Pages
Zotlabs\Access\PermissionRoles Class Reference

PermissionRoles class. More...

Static Public Member Functions

static version ()
 PermissionRoles version. More...
 
static role_perms ($role)
 
static new_custom_perms ($uid, $perm, $abooks)
 
static roles ()
 Array with translated role names and grouping. More...
 

Detailed Description

Member Function Documentation

static Zotlabs\Access\PermissionRoles::new_custom_perms (   $uid,
  $perm,
  $abooks 
)
static

Referenced by check_for_new_perms().

static Zotlabs\Access\PermissionRoles::role_perms (   $role)
static
static Zotlabs\Access\PermissionRoles::roles ( )
static

Array with translated role names and grouping.

Return an associative array with grouped role names that can be used to create select groups like in field_select_grouped.tpl.

Returns
array

Referenced by Zotlabs\Module\New_channel\get(), Zotlabs\Module\Register\get(), and Zotlabs\Module\Settings\Channel\get().

static Zotlabs\Access\PermissionRoles::version ( )
static

PermissionRoles version.

This must match the version in Permissions.php before permission updates can run.

Returns
number

The documentation for this class was generated from the following file: