Function __global->_get_module_path

Definitions

sources/zones.php

  • Get the path to a module known to be in a certain zone.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$zone ID_TEXT No No required parameter N/A N/A The zone name
$module ID_TEXT No No required parameter N/A N/A The module name

Returns

  • The module path
  • Type: PATH
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the path to a module known to be in a certain zone.
 *
 * @param  ID_TEXT $zone The zone name
 * @param  ID_TEXT $module The module name
 * @return PATH The module path
 */

function _get_module_path(string $zone, string $module) : string