[ Index ]

PHP Cross Reference of GlotPress




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

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

File Size: 110 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.

return: array Supported file extensions.
since: 2.0.0

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.

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.
since: 2.1.0

Generated: Tue Mar 5 01:01:29 2024 Cross-referenced by PHPXref 0.7.1