SelectableOptionArray::of()

Get or set output formatting mode

Usage

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

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

Arguments

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

Omit to retrieve mode, or specify bool to set it

Return value

bool

Current mode. If also setting mode, returns previous mode.


SelectableOptionArray methods and properties

API reference based on ProcessWire core version 3.0.251