Function __global->parse_field_options
Definitions
sources/fields.php
- Parse a field options string into a setting map.Based on the code from comma_list_str_to_arr, with some modifications.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $str | string | No | No | required parameter | N/A | N/A | Options string |
Returns
- The setting map
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Parse a field options string into a setting map.Based on the code from comma_list_str_to_arr, with some modifications.
*
* @param string $str Options string
* @return array The setting map
*/
function parse_field_options(string $str) : array
* Parse a field options string into a setting map.Based on the code from comma_list_str_to_arr, with some modifications.
*
* @param string $str Options string
* @return array The setting map
*/
function parse_field_options(string $str) : array

