Located in file /wire/core/PageFinder.php
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Page
class also inherits all the methods and properties of: Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Page | bool | ||
Page Page Page | int | Return a count of pages that match | |
Page Page Page | array DatabaseQuerySelect | Return all pages matching the given selector. | |
Page Page Page | array | Same as find() but returns just a simple array of page IDs without any other info | |
Page Page Page | array | Same as findIDs() but returns the parent IDs of the pages that matched | |
Page Page Page | array | Find template ID for each page — returns array of template IDs indexed by page ID | |
Page Page Page | array DatabaseQuerySelect | Returns array of arrays with all columns in pages table indexed by page ID | |
Page Page Page | int | Returns the limit placed upon the last find() operation, or 0 if no limit was specified | |
Page Page Page | array | Return array of the options provided to Page | |
Page Page Page | array | Get data that should be populated back to any resulting PageArray’s data() method | |
Page Page Page | int | Returns the parent ID, if it was part of the selector | |
Page Page Page | DatabaseQuerySelect | ||
Page Page Page | string | ||
Page Page Page | (nothing) | ||
Page Page Page | bool Field | ; | |
Page Page Page | int | Returns the start placed upon the last find() operation | |
Page Page Page | int null | Returns the templates ID, if it was part of the selector | |
Page Page Page | int | Returns the total number of results returned from the last find() operation | |
Page | string | ||
Page Page Page | (nothing) | Throw a fatal syntax error |
Additional methods and properties
In addition to the methods and properties above, Page
API reference based on ProcessWire core version 3.0.236