[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/pomo/ -> mo.php (summary)

Class for working with MO files

Version: $Id: mo.php 602 2011-01-30 12:43:29Z nbachiyski $
File Size: 246 lines (7 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MO:: (12 methods):
  import_from_file()
  export_to_file()
  export()
  export_to_file_handle()
  export_original()
  export_translations()
  export_headers()
  get_byteorder()
  import_from_reader()
  make_entry()
  select_plural_form()
  get_plural_forms_count()


Class: MO  - X-Ref

import_from_file($filename)   X-Ref
Fills up with the entries from MO file $filename

param: string $filename MO file to load

export_to_file($filename)   X-Ref
No description

export()   X-Ref
No description

export_to_file_handle($fh)   X-Ref
No description

export_original($entry)   X-Ref
No description

export_translations($entry)   X-Ref
No description

export_headers()   X-Ref
No description

get_byteorder($magic)   X-Ref
No description

import_from_reader($reader)   X-Ref
No description

make_entry($original, $translation)   X-Ref
Build a Translation_Entry from original string and translation strings,
found in a MO file

param: string $original original string to translate from MO file. Might contain
param: string $translation translation string from MO file. Might contain

select_plural_form($count)   X-Ref
No description

get_plural_forms_count()   X-Ref
No description



Generated: Fri May 25 03:56:23 2012 Hosted by follow the white rabbit.