Function Hook_sitemap_base->_load_row_from_page_groupings

Definitions

sources/sitemap.php

  • Find details for this node.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$row ?array No No required parameter N/A N/A Faked database row (null: derive)
$meta_gather integer No No required parameter N/A N/A A bitmask of SITEMAP_GATHER_* constants, of extra data to include
$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
$type ID_TEXT No No browse N/A N/A The type
$id ?ID_TEXT No No Null N/A N/A The ID (null: unknown)

Returns

  • Faked database row (null: derive)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find details for this node.
 *
 * @param  ?array $row Faked database row (null: derive)
 * @param  integer $meta_gather A bitmask of SITEMAP_GATHER_* constants, of extra data to include
 * @param  ID_TEXT $zone The zone
 * @param  ID_TEXT $page The page
 * @param  ID_TEXT $type The type
 * @param  ?ID_TEXT $id The ID (null: unknown)
 * @return ?array Faked database row (null: derive)
 */

protected function _load_row_from_page_groupings(?array $row, int $meta_gather, string $zone, string $page, string $type = 'browse', ?string $id = null) : ?array