Function __global->reinstall_block
Definitions
sources/zones2.php
- Reinstall a block if it has become corrupted for any reason.Again, you should not need to use this function.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $block | ID_TEXT | No | No | required parameter | N/A | N/A | The name of the block to reinstall |
Returns
- Whether installation was required
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Reinstall a block if it has become corrupted for any reason.Again, you should not need to use this function.
*
* @param ID_TEXT $block The name of the block to reinstall
* @return boolean Whether installation was required
*/
function reinstall_block(string $block) : bool
* Reinstall a block if it has become corrupted for any reason.Again, you should not need to use this function.
*
* @param ID_TEXT $block The name of the block to reinstall
* @return boolean Whether installation was required
*/
function reinstall_block(string $block) : bool

