PageValues::getField()

Get a Field object in context or NULL if not valid for this page

Field in context is only returned when output formatting is on.

Usage

$field = $pageValues->getField(Page $page, $field);

Arguments

NameType(s)Description
$pagePage
$fieldstring int Field

Return value

Field null


PageValues methods and properties

API reference based on ProcessWire core version 3.0.252