[ Index ]

PHP Cross Reference of GlotPress




/gp-includes/ -> format.php (summary)

GlotPress Format base class. It is supposed to be inherited.

File Size: 103 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions


Functions that are not part of a class:

get_file_extensions()   X-Ref
Gets the list of supported file extensions.

since: 2.0.0
return: array Supported file extensions.

read_translations_from_file( $file_name, $project = null )   X-Ref
No description

get_language_code( $locale )   X-Ref
Create a string that represents the value for the "Language:" header for an export file.

since: 2.1.0
return: string|false Returns false if the locale object does not have any iso_639 language code, otherwise returns the shortest possible language code string.
param: GP_Locale $locale The locale object.

Generated: Tue Jan 22 01:02:31 2019 Cross-referenced by PHPXref 0.7.1