Function __global->read_text_file
Definitions
sources/textfiles.php
- Read a text file, using the _custom system.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$codename | string | required parameter | N/A | N/A | The file name (without .txt) |
$lang | ?LANGUAGE_NAME | Null | N/A | N/A | The language to load from (null: none) (blank: search) |
$missing_blank | boolean | False | N/A | N/A | Whether to tolerate missing files |
Return
- The file contents
- Type: string
- Set: N/A
- Range: N/A