init_inline_permissions

Description

Internal function to initialise the inline permission settings.

Syntax

void init_inline_permissions (array $permissions[, array $excluded_groups])



Parameter $permissions

Expected type: Array
Description: An array of permissions to load the form for



Parameter $excluded_groups

Expected type: Array of Integers
Description: An array of group IDs corresponding to groups that should not be included on the form (useful for permissions that guests can't have)


Notes

  • Loads the ManagePermissions language and template.
  • Loads a context variables for each permission.
  • Used by several settings screens to set specific permissions.
Advertisement: