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
Name | Type(s) | Description |
---|---|---|
page | Page | |
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.236