Function __global->build_closure_tempcode

Definitions

sources/tempcode.php

  • Build a conventional Tempcode object.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$type integer No No required parameter 0 2 N/A The type of symbol this is (TC_SYMBOL, TC_LANGUAGE_REFERENCE)
$name ID_TEXT No No required parameter N/A N/A The name of the symbol
$parameters array No No required parameter N/A N/A Parameters to the symbol. In same format as expected by ecv.
$escaping array No No [] N/A N/A Escaping for the symbol

Returns

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

Preview

Code (PHP)

/**
 * Build a conventional Tempcode object.
 *
 * @param  integer $type The type of symbol this is (TC_SYMBOL, TC_LANGUAGE_REFERENCE)
 * @set 0 2
 * @param  ID_TEXT $name The name of the symbol
 * @param  array $parameters Parameters to the symbol. In same format as expected by ecv.
 * @param  array $escaping Escaping for the symbol
 * @return Tempcode Tempcode object
 */

function build_closure_tempcode(int $type, string $name, array $parameters, array $escaping = []) : object