Skip to content

Page get field

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 = $page->getField($field);

Arguments

Name

Type(s)

Description

field

string, int, Field

Return value

Field null