Function Hook_rss_catalogues->has_access

Definitions

sources/hooks/systems/rss/catalogues.php

  • Check if the given member has access to view this feed.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id MEMBER No No required parameter N/A N/A The member trying to access this feed

Returns

  • Whether the member has access
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Check if the given member has access to view this feed.
 *
 * @param  MEMBER $member_id The member trying to access this feed
 * @return boolean Whether the member has access
 */

public function has_access(int $member_id) : bool