Property | Type | Description | |
---|---|---|---|
$_handle | resource | file handle | |
$writeBigEndian | boolean | Whether to write with big endian byte order. |
Method | Description | |
---|---|---|
__construct ( string $file = '' ) : object | Constructor | |
_read ( integer $bytes = 1 ) : mixed | _read | |
_readInt ( boolean $bigendian = false ) : integer | _readInt | |
_readStr ( array $params ) : string | _readStr | |
_write ( string $data ) : integer | _write | |
_writeInt ( integer $int ) : integer | _writeInt | |
_writeStr ( string $string ) : integer | _writeStr | |
load ( string $file = null ) : mixed | Load MO file | |
save ( string $file = null ) : mixed | Save MO file |
public __construct ( string $file = '' ) : object | ||
$file | string | path to GNU MO file |
return | object | File_Gettext_MO |
protected bool $writeBigEndian | ||
return | boolean |