Function Tempcode->evaluate_echo
Definitions
sources/tempcode.php
- Parse the current Tempcode object, then echo it to the browser.
- 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
- Blank string. Allows chaining within echo statements
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Parse the current Tempcode object, then echo it to the browser.
*
* @param ?LANGUAGE_NAME $current_lang The language to evaluate with (null: current user's language)
* @return string Blank string. Allows chaining within echo statements
*/
public function evaluate_echo(?string $current_lang = null) : string
* Parse the current Tempcode object, then echo it to the browser.
*
* @param ?LANGUAGE_NAME $current_lang The language to evaluate with (null: current user's language)
* @return string Blank string. Allows chaining within echo statements
*/
public function evaluate_echo(?string $current_lang = null) : string

