Function __global->symbol_tempcode

Definitions

sources/tempcode.php

  • This will create a new Tempcode object that is containing a single specified symbol.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$symbol ID_TEXT No No required parameter N/A N/A The ID of the symbol to use
$parameters array No No [] N/A N/A Symbol parameters
$escape array No No [] N/A N/A Escaping

Returns

  • A symbol Tempcode object
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * This will create a new Tempcode object that is containing a single specified symbol.
 *
 * @param  ID_TEXT $symbol The ID of the symbol to use
 * @param  array $parameters Symbol parameters
 * @param  array $escape Escaping
 * @return Tempcode A symbol Tempcode object
 */

function symbol_tempcode(string $symbol, array $parameters = [], array $escape = []) : object