Method |
Description |
|
_compileMo ( resource $stream, array $data ) : void |
Compiles data into machine object (MO) format. |
|
_compilePo ( resource $stream, array $data ) : boolean |
Compiles data into portable object (PO) format. |
|
_compilePot ( resource $stream, array $data ) : boolean |
Compiles data into portable object template (POT) format. |
|
_files ( string $category, string $locale, string $scope ) : array |
Returns absolute paths to files according to configuration. |
|
_init ( ) : void |
Initializer. Checks if the configured path exists. |
|
_merge ( array $data, array $item ) : array |
Merges an item into given data and unescapes fields. |
|
_parseMo ( resource $stream ) : array |
Parses machine object (MO) format, independent of the machine's endian it
was created on. Both 32bit and 64bit systems are supported. |
|
_parsePo ( resource $stream ) : array |
Parses portable object (PO) format. |
|
_parsePot ( resource $stream ) : array |
Parses portable object template (POT) format. |
|
_prepareForWrite ( array $item ) : array |
Prepares an item before it is being written and escapes fields. |
|
_readLong ( resource $stream, boolean $isBigEndian ) : integer |
Reads an unsigned long from stream respecting endianess. |
|