Function __global->_load_mini_code
Definitions
sources/zones.php
- Runs the specified mini-module/mini-block (actually, any simply-written PHP code).The returned/output result is returned, in Tempcode form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $string | PATH | No | No | required parameter | N/A | N/A | The relative path to the code file |
| $map | array | No | No | [] | N/A | N/A | The block parameters |
Returns
- The result of executing the code
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Runs the specified mini-module/mini-block (actually, any simply-written PHP code).The returned/output result is returned, in Tempcode form.
*
* @param PATH $string The relative path to the code file
* @param array $map The block parameters
* @return Tempcode The result of executing the code
*/
function _load_mini_code(string $string, array $map = []) : object
* Runs the specified mini-module/mini-block (actually, any simply-written PHP code).The returned/output result is returned, in Tempcode form.
*
* @param PATH $string The relative path to the code file
* @param array $map The block parameters
* @return Tempcode The result of executing the code
*/
function _load_mini_code(string $string, array $map = []) : object

