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.

Show $var?     Show args?       Only hookable?    

Common

NameReturnSummary 
$pages->raw->col($pageId, $col)
int string array null

Get native pages table column value for given page ID

 
$pages->raw->cols($pageId)
array

Get native pages table columns (plural) for given page ID

 
$pages->raw->find($selector)
array

Find pages and return raw data from them in a PHP array

 
$pages->raw->get($selector)
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