Function Resource_fs_base->_create_name_from_label
Definitions
sources/resource_fs_base_class.php
- Turn a label into a name.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $label | LONG_TEXT | No | No | required parameter | N/A | N/A | The label |
Returns
- The name
- Type: ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Turn a label into a name.
*
* @param LONG_TEXT $label The label
* @return ID_TEXT The name
*/
protected function _create_name_from_label(string $label) : string
* Turn a label into a name.
*
* @param LONG_TEXT $label The label
* @return ID_TEXT The name
*/
protected function _create_name_from_label(string $label) : string

