ProcessPageSearch::setDisplayFormat()
Set a display format
Usage
// basic usage
$processPageSearch->setDisplayFormat(string $name, string $format);
// usage with all arguments
$processPageSearch->setDisplayFormat(string $name, string $format, bool $textOnly = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$name | string | Session var name that will be used, output will be returned in JSON results indexed by $name as well. |
$format | string | Format string to pass to $page->getMarkup(str) |
$textOnly (optional) | bool |
ProcessPageSearch methods and properties
API reference based on ProcessWire core version 3.0.253