InputfieldSelect::renderOptions()

Render the given options

Note: method was protected prior to 3.0.116

Usage

// basic usage
$string = $inputfieldSelect->renderOptions();

// usage with all arguments
$string = $inputfieldSelect->renderOptions($options = null, bool $allowBlank = true);

Arguments

NameType(s)Description
$options (optional)array null

Options array or omit (null) to use already specified options

$allowBlank (optional)bool

Allow first item to be blank when supported? Default:true

Return value

string


InputfieldSelect methods and properties

API reference based on ProcessWire core version 3.0.251