SelectableOptionManager::getOptionsString()
Get the options input string used for
Usage
// basic usage
$string = $selectableOptionManager->getOptionsString(SelectableOptionArray $options);
// usage with all arguments
$string = $selectableOptionManager->getOptionsString(SelectableOptionArray $options, $language = '');Arguments
| Name | Type(s) | Description |
|---|---|---|
$options | SelectableOptionArray | |
$language (optional) | int string Language | Language id, object, or name, if applicable |
Return value
string
Exceptions
Method can throw exceptions on error:
WireException- if given invalid language
SelectableOptionManager methods and properties
API reference based on ProcessWire core version 3.0.253