Function __global->_get_preview_environment_comcode

Definitions

sources/comcode_add.php

  • Reads a Comcode tag from the POST environment.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$tag ID_TEXT No No required parameter N/A N/A Tag being read

Returns

  • The full Comcode for that tag
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Reads a Comcode tag from the POST environment.
 *
 * @param  ID_TEXT $tag Tag being read
 * @return string The full Comcode for that tag
 */

function _get_preview_environment_comcode(string $tag) : string