Function Hook_sitemap_base->get_member

Definitions

sources/sitemap.php

  • Find which member to evaluate permissions with.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$options integer No No required parameter N/A N/A A bitmask of SITEMAP_GEN_* options

Returns

  • The member ID to evaluate for
  • Type: MEMBER
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find which member to evaluate permissions with.
 *
 * @param  integer $options A bitmask of SITEMAP_GEN_* options
 * @return MEMBER The member ID to evaluate for
 */

protected function get_member(int $options) : int