InputfieldPage::getPageLabel()

Get a label for the given page

Usage

// basic usage
$string = $inputfieldPage->getPageLabel(Page $page);

// usage with all arguments
$string = $inputfieldPage->getPageLabel(Page $page, bool $allowMarkup = false);

Arguments

NameType(s)Description
$pagePage
$allowMarkup (optional)bool

Whether or not to allow markup in the label Default:false

Return value

string


InputfieldPage methods and properties

API reference based on ProcessWire core version 3.0.251