Méthode |
Description |
|
addGlobal ( array $chunks, mixed $value ) |
Adds the labels to the global PHP language array. |
|
convertXlfToPhp ( string $name, string $language ) : string |
Converts an XLIFF file into a PHP language file. |
|
fixClosingTags ( DOMNode $node ) : string |
Removes extra spaces in closing tags. |
|
getChunksFromUnit ( DOMElement $unit ) : array |
Splits the ID attribute and returns the chunks. |
|
getDomDocumentFromFile ( string $name ) : DOMDocument |
Returns a DOM document object. |
|
getNodeByLanguage ( DOMElement $unit, string $language ) : DOMNodeList |
Returns a DOM node list depending on the language. |
|
getStringRepresentation ( array $chunks, mixed $value ) : string |
Returns a string representation of the global PHP language array. |
|
quoteKey ( string $key ) : integer | string |
Quotes an array key to be used as PHP string. |
|
quoteValue ( string $value ) : string |
Quotes a value to be used as PHP string. |
|