Function __global->_give_moniker_scope

Definitions

sources/urls2.php

  • Take a moniker and it's page-link details, and make a full path from it.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$page ID_TEXT No No required parameter N/A N/A Page name
$type ID_TEXT No No required parameter N/A N/A Screen type code
$id ID_TEXT No No required parameter N/A N/A Resource ID
$zone ID_TEXT No No required parameter N/A N/A The URL zone name (only used for Comcode Page URL monikers)
$main string No No required parameter N/A N/A Pathless moniker

Returns

  • The fully qualified moniker
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Take a moniker and it's page-link details, and make a full path from it.
 *
 * @param  ID_TEXT $page Page name
 * @param  ID_TEXT $type Screen type code
 * @param  ID_TEXT $id Resource ID
 * @param  ID_TEXT $zone The URL zone name (only used for Comcode Page URL monikers)
 * @param  string $main Pathless moniker
 * @return string The fully qualified moniker
 */

function _give_moniker_scope(string $page, string $type, string $id, string $zone, string $main) : string