Function __global->cleanup_block_name
Definitions
sources/zones2.php
- Make a block codename look nice.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $block | ID_TEXT | No | No | required parameter | N/A | N/A | The raw block codename |
Returns
- A nice human readable version of the name
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Make a block codename look nice.
*
* @param ID_TEXT $block The raw block codename
* @return string A nice human readable version of the name
*/
function cleanup_block_name(string $block) : string
* Make a block codename look nice.
*
* @param ID_TEXT $block The raw block codename
* @return string A nice human readable version of the name
*/
function cleanup_block_name(string $block) : string
