Function __global->suggest_new_idmoniker_for

Definitions

sources/urls2.php

  • Called when content is added, or edited/moved, based upon a new form field that specifies what moniker to use.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$page ID_TEXT required parameter N/A N/A Page name
$type ID_TEXT required parameter N/A N/A Screen type code
$id ID_TEXT required parameter N/A N/A Resource ID
$zone ID_TEXT required parameter N/A N/A The URL zone name (only used for Comcode Page URL monikers)
$moniker_src string required parameter N/A N/A String from which a moniker will be chosen (may not be blank)
$is_new boolean False N/A N/A Whether we are sure this is a new moniker (makes things more efficient, saves a query)
$moniker ?string Null N/A N/A Actual moniker to use (null: generate from $moniker_src). Usually this is left null.

Return

  • The chosen moniker
  • Type: string
  • Set: N/A
  • Range: N/A