protected function getOptionsMap()
    {
        $optionSet = $this->Options();
        $optionMap = $optionSet->map('Value', 'Title');
        if ($optionMap instanceof Map) {
            return $optionMap->toArray();
        }
        return $optionMap;
    }
protected function getOptionsMap()
    {
        $optionSet = $this->Options();
        $optionMap = $optionSet->map('Value', 'Title');
        if ($optionMap instanceof Map) {
            return $optionMap->toArray();
        }
        return $optionMap;
    }
protected function getOptionsMap ( ) { $ optionSet = $ this -> Options ( ) ; $ optionMap = $ optionSet -> map ( 'Value' , 'Title' ) ; if ( $ optionMap instanceof Map ) { return $ optionMap -> toArray ( ) ; } return $ optionMap ; }
Gets map of field options suitable for use in a form

@return array
Gets map of field options suitable for use in a form