Function __global->load_module_page
Definitions
sources/zones.php
- Runs the specified module, but also update any stats for the module, and check to see if it needs upgrading or reinstalling.The module result is returned.
- 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 module file |
| $codename | ID_TEXT | No | No | required parameter | N/A | N/A | The page name to load |
Returns
- The result of executing the module
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Runs the specified module, but also update any stats for the module, and check to see if it needs upgrading or reinstalling.The module result is returned.
*
* @param PATH $string The relative path to the module file
* @param ID_TEXT $codename The page name to load
* @return Tempcode The result of executing the module
*/
function load_module_page(string $string, string $codename) : object
* Runs the specified module, but also update any stats for the module, and check to see if it needs upgrading or reinstalling.The module result is returned.
*
* @param PATH $string The relative path to the module file
* @param ID_TEXT $codename The page name to load
* @return Tempcode The result of executing the module
*/
function load_module_page(string $string, string $codename) : object

