SelectableOption::of()

Turn output formatting on or off, or get current value

Usage

// basic usage
$bool = $selectableOption->of();

// usage with all arguments
$bool = $selectableOption->of($of = null);

Arguments

NameType(s)Description
$of (optional)null bool

Omit to return current value, or specify true|false to set

Return value

bool


SelectableOption methods and properties

API reference based on ProcessWire core version 3.0.253