PageFinder::findVerboseIDs()

Returns array of arrays with all columns in pages table indexed by page ID

Available since version 3.0.153.

Usage

// basic usage
$array = $pageFinder->findVerboseIDs($selectors);

// usage with all arguments
$array = $pageFinder->findVerboseIDs($selectors, array $options = []);

Arguments

NameType(s)Description
$selectorsSelectors string array

Selectors object, selector string or selector array

$options (optional)array
  • joinFields (array): Names of additional fields to join Default:[] 3.0.172+
  • joinSortfield (bool): Include 'sortfield' in returned columns? Joined from pages_sortfields table. Default:false 3.0.172+
  • getNumChildren (bool): Include 'numChildren' in returned columns? Calculated in query. Default:false 3.0.172+
  • unixTimestamps (bool): Return created/modified/published dates as unix timestamps rather than ISO-8601? Default:false 3.0.172+

Return value

array DatabaseQuerySelect


PageFinder methods and properties

API reference based on ProcessWire core version 3.0.252