Pages Raw
Methods for finding and loading raw page data
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the PagesRaw class also inherits all the methods and properties of: Wire.
Common
| Name | Return | Summary | |
|---|---|---|---|
$pages->raw->col() $pages->raw->col($pageId, $col) $pages->raw->col($pageId, $col, array $options = []) | int string array null | Get native pages table column value for given page ID | |
$pages->raw->cols() $pages->raw->cols($pageId) $pages->raw->cols($pageId, $cols = [], array $options = []) | array | Get native pages table columns (plural) for given page ID | |
$pages->raw->find() $pages->raw->find($selector) $pages->raw->find($selector, $field = '', array $options = []) | array | Find pages and return raw data from them in a PHP array | |
$pages->raw->get() $pages->raw->get($selector) $pages->raw->get($selector, $field = '', $options = []) | array | Get page (no exclusions) and return raw data from it in a PHP array |
Additional methods and properties
In addition to the methods and properties above, PagesRaw also inherits the methods and properties of these classes:
API reference based on ProcessWire core version 3.0.252