Function __global->do_lang_tempcode
Definitions
sources/tempcode.php
- This will create a new Tempcode object that is containing a single specified language string codename.See do_lang for more documentation.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $lang_string | ID_TEXT | No | No | required parameter | N/A | N/A | The codename of the language string to use |
| $parameter1 | ?mixed | No | No | Null | N/A | N/A | The first parameter [string or Tempcode, make sure escaped] (replaces {1}) (null: none) |
| $parameter2 | ?mixed | No | No | Null | N/A | N/A | The second parameter [string or Tempcode, make sure escaped] (replaces {2}) (null: none) |
| $parameter3 | ?mixed | No | No | Null | N/A | N/A | The third parameter (replaces {3}). May be an array of [of string or Tempcode, make sure escaped], to allow any number of additional args (null: none) |
Returns
- A language 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 language string codename.See do_lang for more documentation.
*
* @param ID_TEXT $lang_string The codename of the language string to use
* @param ?mixed $parameter1 The first parameter [string or Tempcode, make sure escaped] (replaces {1}) (null: none)
* @param ?mixed $parameter2 The second parameter [string or Tempcode, make sure escaped] (replaces {2}) (null: none)
* @param ?mixed $parameter3 The third parameter (replaces {3}). May be an array of [of string or Tempcode, make sure escaped], to allow any number of additional args (null: none)
* @return Tempcode A language Tempcode object
*/
function do_lang_tempcode(string $lang_string, $parameter1 = null, $parameter2 = null, $parameter3 = null) : object
* This will create a new Tempcode object that is containing a single specified language string codename.See do_lang for more documentation.
*
* @param ID_TEXT $lang_string The codename of the language string to use
* @param ?mixed $parameter1 The first parameter [string or Tempcode, make sure escaped] (replaces {1}) (null: none)
* @param ?mixed $parameter2 The second parameter [string or Tempcode, make sure escaped] (replaces {2}) (null: none)
* @param ?mixed $parameter3 The third parameter (replaces {3}). May be an array of [of string or Tempcode, make sure escaped], to allow any number of additional args (null: none)
* @return Tempcode A language Tempcode object
*/
function do_lang_tempcode(string $lang_string, $parameter1 = null, $parameter2 = null, $parameter3 = null) : object

