[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/l10n/ -> class-wp-translation-file-mo.php (summary)

I18N: WP_Translation_File_MO class.

File Size: 239 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Translation_File_MO:: (3 methods):
  detect_endian_and_validate_file()
  parse_file()
  export()


Class: WP_Translation_File_MO  - X-Ref

Class WP_Translation_File_MO.

detect_endian_and_validate_file( string $header )   X-Ref
Detects endian and validates file.

param: string $header File contents.
return: false|'V'|'N' V for little endian, N for big endian, or false on failure.

parse_file()   X-Ref
Parses the file.

return: bool True on success, false otherwise.

export()   X-Ref
Exports translation contents as a string.

return: string Translation file contents.



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref