Function Module_admin_permissions->_access_header

Definitions

adminzone/pages/modules/admin_permissions.php

  • Show the header row for permission editor (all the usergroups, except admin usergroups).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$admin_groups array No No required parameter N/A N/A List of admin usergroups
$groups array No No required parameter N/A N/A Map of usergroups (id=>name)

Returns

  • The header row
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Show the header row for permission editor (all the usergroups, except admin usergroups).
 *
 * @param  array $admin_groups List of admin usergroups
 * @param  array $groups Map of usergroups (id=>name)
 * @return Tempcode The header row
 */

public function _access_header(array $admin_groups, array $groups) : object