Function Hook_import_smf2->cpf_options_string
Definitions
sources/hooks/modules/admin_import/smf2.php
- Used with cns_custom_profile_fields.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $default | string | No | No | required parameter | N/A | N/A | Default value |
| $options | string | No | No | required parameter | N/A | N/A | List of coma separated options |
Returns
- Imploded with pipe
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Used with cns_custom_profile_fields.
*
* @param string $default Default value
* @param string $options List of coma separated options
* @return string Imploded with pipe
*/
public function cpf_options_string(string $default, string $options) : string
* Used with cns_custom_profile_fields.
*
* @param string $default Default value
* @param string $options List of coma separated options
* @return string Imploded with pipe
*/
public function cpf_options_string(string $default, string $options) : string

