Function __global->filter_group_permissivity

Definitions

sources/permissions.php

  • Find which of a list of usergroups are permissive ones.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$groups array No No required parameter N/A N/A List of groups to filter

Returns

  • List of permissive groups, filtered from those given
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find which of a list of usergroups are permissive ones.
 *
 * @param  array $groups List of groups to filter
 * @return array List of permissive groups, filtered from those given
 */

function filter_group_permissivity(array $groups) : array