SelectableOptionArray::addByTitle()

Add by option title

Usage

$false = $selectableOptionArray->addByTitle(string $title);

Arguments

NameType(s)Description
$titlestring

Return value

false SelectableOption

Returns option added on success or false on fail

Exceptions

Method can throw exceptions on error:

  • WireException


SelectableOptionArray methods and properties

API reference based on ProcessWire core version 3.0.251