Generic file format support for JavaScript formatted files.
More...
|
| transformKey ( $key) |
| Message keys format.
|
|
| header ( $code, array $authors) |
| Header of message file.
|
|
| footer () |
| Footer of message file.
|
|
| authorsList (array $authors) |
|
| tryReadSource ( $filename, MessageCollection $collection) |
| This tries to pick up external authors in the source files so that they are not lost if those authors are not among those who have translated in the wiki.
|
|
| tryReadFile ( $filename) |
| Read the contents of $filename and return it as a string.
|
|
|
| $group |
|
| $writePath |
|
| $extra |
| Stores the FILES section of the YAML configuration, which can be accessed for extra FFS class specific options.
|
|
Generic file format support for JavaScript formatted files.
Definition at line 9 of file JavaScriptFFS.php.
◆ authorsList()
JavaScriptFFS::authorsList |
( |
array | $authors | ) |
|
|
protected |
◆ escapeJsString()
static JavaScriptFFS::escapeJsString |
( |
| $string | ) |
|
|
staticprotected |
◆ getFileExtensions()
JavaScriptFFS::getFileExtensions |
( |
| ) |
|
Return the commonly used file extensions for these formats.
Include the dot.
- Returns
- string[]
- Since
- 2013-04
Reimplemented from SimpleFFS.
Definition at line 10 of file JavaScriptFFS.php.
◆ header()
JavaScriptFFS::header |
( |
| $code, |
|
|
array | $authors ) |
|
abstractprotected |
Header of message file.
- Parameters
-
string | $code | |
string[] | $authors | |
◆ readFromVariable()
JavaScriptFFS::readFromVariable |
( |
| $data | ) |
|
◆ transformKey()
JavaScriptFFS::transformKey |
( |
| $key | ) |
|
|
abstractprotected |
Message keys format.
- Parameters
-
- Returns
- string
◆ unescapeJsString()
static JavaScriptFFS::unescapeJsString |
( |
| $string | ) |
|
|
staticprotected |
◆ writeReal()
The documentation for this class was generated from the following file: