read_text_file (line 66)
Read a text file, using the _custom system
string
read_text_file
(string $codename, [?LANGUAGE_NAME $lang = NULL], [boolean $missing_blank = false])
-
string
$codename: The file name (without .txt)
-
?LANGUAGE_NAME
$lang: The language to load from (NULL: none) (blank: search)
-
boolean
$missing_blank: Whether to tolerate missing files
write_text_file (line 87)
Write a text file, using the _custom system
void
write_text_file
(string $codename, ?LANGUAGE_NAME $lang, string $out)
-
string
$codename: The file name (without .txt)
-
?LANGUAGE_NAME
$lang: The language to write for (NULL: none) (blank: search)
-
string
$out: The data to write
_find_text_file_path (line 28)
Helper function for *_text_file
string
_find_text_file_path
(string $codename, ?LANGUAGE_NAME $lang)
-
string
$codename: The file name (without .txt)
-
?LANGUAGE_NAME
$lang: The language to load from (NULL: none) (blank: search)