Function Tempcode->evaluate

Definitions

sources/tempcode.php

  • Parses the current Tempcode object, then return the parsed string.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$current_lang ?LANGUAGE_NAME No No Null N/A N/A The language to evaluate with (null: current user's language)

Returns

  • The evaluated thing. Voila, it's all over!
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Parses the current Tempcode object, then return the parsed string.
 *
 * @param  ?LANGUAGE_NAME $current_lang The language to evaluate with (null: current user's language)
 * @return string The evaluated thing. Voila, it's all over!
 */

public function evaluate(?string $current_lang = null) : string