SelectableOptionArray::addByTitle()
Add by option title
Usage
$false = $selectableOptionArray->addByTitle(string $title);Arguments
| Name | Type(s) | Description |
|---|---|---|
$title | string |
Return value
false SelectableOptionReturns 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.253