Function __global->_find_all_pages

Definitions

sources/zones2.php

  • Get an array of all the pages of the specified type (module, etc) and extension (for small sites everything will be returned, for larger ones it depends on the show method).
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$zone ID_TEXT required parameter N/A N/A The zone name
$type ID_TEXT required parameter N/A N/A The type (including language, if appropriate)
$ext string php N/A N/A The file extension to limit us to (without a dot)
$keep_ext_on boolean False N/A N/A Whether to leave file extensions on the page name
$cutoff_time ?TIME Null N/A N/A Only show pages newer than (null: no restriction)
$show_method integer 0 N/A N/A Selection algorithm constant
$custom ?boolean Null N/A N/A Whether to search under the custom-file-base (null: auto-decide)

Return

  • A map of page name to type (modules_custom, etc)
  • Type: array
  • Set: N/A
  • Range: N/A