Return a value consistent with the page’s output formatting state
This is primarily for use as a helper to the getFieldValue() method.
Usage
$mixed = $pageValues->formatFieldValue(Page $page, Field $field, mixed $value);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page | |
field | Field | |
value | mixed |
Return value
mixed
PageValues methods and properties
API reference based on ProcessWire core version 3.0.236