Function Hook_sitemap_entry_point->get_native_entry_points_for

Definitions

sources/hooks/systems/sitemap/entry_point.php

  • Get entry points handled natively by a particular page.Has caching, which speeds things up a lot.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$zone ID_TEXT No No required parameter N/A N/A The zone
$page ID_TEXT No No required parameter N/A N/A The page
$options integer No No required parameter N/A N/A A bitmask of SITEMAP_GEN_* options
$search_mode boolean No No False N/A N/A Whether we are doing a harder search

Returns

  • Covered entry points
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get entry points handled natively by a particular page.Has caching, which speeds things up a lot.
 *
 * @param  ID_TEXT $zone The zone
 * @param  ID_TEXT $page The page
 * @param  integer $options A bitmask of SITEMAP_GEN_* options
 * @param  boolean $search_mode Whether we are doing a harder search
 * @return array Covered entry points
 */

protected function get_native_entry_points_for(string $zone, string $page, int $options, bool $search_mode = false) : array