class MoFileLoader extendsFileLoader

Constants

MO_LITTLE_ENDIAN_MAGIC

Magic used for validating the format of an MO file as well as detecting if the machine used to create that file was little endian.

MO_BIG_ENDIAN_MAGIC

Magic used for validating the format of an MO file as well as detecting if the machine used to create that file was big endian.

MO_HEADER_SIZE

The size of the header of an MO file in bytes.

Methods

array
loadResource(string$resource)

Parses machine object (MO) format, independent of the machine's endian it was created on. Both 32bit and 64bit systems are supported.

Details

protectedarray loadResource(string$resource)

Parses machine object (MO) format, independent of the machine's endian it was created on. Both 32bit and 64bit systems are supported.

Parameters

string $resource

Return Value

array