Function __global->get_defaults_multi
Definitions
sources/comcode_add.php
- Locate a set of consistently named parameters and generate an array of them for a multi-line input.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $defaults | array | No | No | required parameter | N/A | N/A | All default values for the tag |
| $param | ID_TEXT | No | No | required parameter | N/A | N/A | Match name for the parameter set |
Returns
- List of values
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Locate a set of consistently named parameters and generate an array of them for a multi-line input.
*
* @param array $defaults All default values for the tag
* @param ID_TEXT $param Match name for the parameter set
* @return array List of values
*/
function get_defaults_multi(array $defaults, string $param) : array
* Locate a set of consistently named parameters and generate an array of them for a multi-line input.
*
* @param array $defaults All default values for the tag
* @param ID_TEXT $param Match name for the parameter set
* @return array List of values
*/
function get_defaults_multi(array $defaults, string $param) : array

