Function __global->_get_block_path
Definitions
sources/zones.php
- Gets the path to a block code file for a block code name.
- 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 name of the block |
Returns
- The path to the block
- Type: PATH
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Gets the path to a block code file for a block code name.
*
* @param ID_TEXT $block The name of the block
* @return PATH The path to the block
*/
function _get_block_path(string $block) : string
* Gets the path to a block code file for a block code name.
*
* @param ID_TEXT $block The name of the block
* @return PATH The path to the block
*/
function _get_block_path(string $block) : string

