Partial support for the Xliff translation format. More...
Public Member Functions | |
getFileExtensions () | |
Return the commonly used file extensions for these formats. | |
readFromVariable ($data, $element= 'target') | |
read ($code) | |
Reads messages from the file in a given language and returns an array of AUTHORS, MESSAGES and possibly other properties. | |
supportsFuzzy () | |
Query the capabilities of this FFS. | |
Static Public Member Functions | |
static | isValid ($data) |
static | getInnerXml (DomElement $node) |
Gets the html inside en element without the element itself. | |
Protected Member Functions | |
writeReal (MessageCollection $collection) |
Partial support for the Xliff translation format.
Definition at line 15 of file XliffFFS.php.
XliffFFS::getFileExtensions | ( | ) |
Return the commonly used file extensions for these formats.
Include the dot.
Reimplemented from SimpleFFS.
Definition at line 33 of file XliffFFS.php.
static XliffFFS::getInnerXml | ( | DomElement $ | node | ) | [static] |
Gets the html inside en element without the element itself.
Definition at line 102 of file XliffFFS.php.
Referenced by readFromVariable().
static XliffFFS::isValid | ( | $ | data | ) | [static] |
Definition at line 16 of file XliffFFS.php.
XliffFFS::read | ( | $ | code | ) |
Reads messages from the file in a given language and returns an array of AUTHORS, MESSAGES and possibly other properties.
$code | string |
MWException | if the file appears to exist, but cannot be read |
Reimplemented from SimpleFFS.
Definition at line 83 of file XliffFFS.php.
XliffFFS::readFromVariable | ( | $ | data, | |
$ | element = 'target' | |||
) |
Definition at line 37 of file XliffFFS.php.
Referenced by read().
XliffFFS::supportsFuzzy | ( | ) |
Query the capabilities of this FFS.
Allowed values are:
Reimplemented from SimpleFFS.
Definition at line 169 of file XliffFFS.php.
XliffFFS::writeReal | ( | MessageCollection $ | collection | ) | [protected] |
$collection | MessageCollection |
Reimplemented from SimpleFFS.
Definition at line 111 of file XliffFFS.php.