src/FieldBuilder.php
protected function getOptionsList($name, $options)
    {
        if (empty($options)) {
            $options = $this->getOptionsFromModel($name);
        }

        return $options;
    }
protected function getOptionsList($name, $options)
    {
        if (empty($options)) {
            $options = $this->getOptionsFromModel($name);
        }

        return $options;
    }
protected function getOptionsList ( $ name , $ options ) { if ( empty ( $ options ) ) { $ options = $ this -> getOptionsFromModel ( $ name ) ; } return $ options ; }
Get the option list for the select box or the group of radios

@param  string $name
@param  array $options
@return array
Get the option list for the select box or the group of radios