Function __global->get_param_wiki_chain

Definitions

sources/wiki.php

  • Get a chain script parameter or just an ID, in which case it does more work), and converts it into a ID/chain pair.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$parameter_name ID_TEXT required parameter N/A N/A The name of the GET parameter that stores the chain
$default_value ?string Null N/A N/A The default value for the chain (null: no default)

Return

  • An array of two elements: an ID and a chain
  • Type: array
  • Set: N/A
  • Range: N/A