Class GP_Format_RRC

Description
Variable Summary
mixed $extension
Method Summary
void escape ( $string)
void print_exported_file ( $project,  $locale,  $translation_set,  $entries)
void read_originals_from_file ( $file_name)
void read_translations_from_file ( $file_name, [ $project = null])
void unescape ( $string)
Variables
mixed $extension = 'rrc' (line 5)
Methods
escape (line 114)

Escapes a UTF-8 string to be used in RRC file

Suitable characters are encoded in ISO-8859-1, all non-latin1 unicode characters are encoded via \uXXXX notation, where XXXX is 0-paded hex unicode code-point Newlines, tabs and carriage returns are backslash-escaped.

void escape ( $string)
  • $string
print_exported_file (line 7)
void print_exported_file ( $project,  $locale,  $translation_set,  $entries)
  • $project
  • $locale
  • $translation_set
  • $entries
read_originals_from_file (line 65)
void read_originals_from_file ( $file_name)
  • $file_name
read_translations_from_file (line 38)
void read_translations_from_file ( $file_name, [ $project = null])
  • $file_name
  • $project
unescape (line 138)

The reverse of {@see escape}

void unescape ( $string)
  • $string

Documentation generated on Fri, 18 May 2012 01:45:55 +0100 by phpDocumentor 1.4.3