/sources/textfiles.php

Description
Functions
read_text_file (line 66)

Read a text file, using the _custom system

  • return: The file contents
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

  • return: The path to the 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)

Documentation generated on Sun, 02 Jan 2011 23:26:37 +0000 by phpDocumentor 1.4.3