## Class TGettext_MO

Description

File_Gettext_MO

GNU MO file reader and writer.

- access: public
- version: $Revision: 1.3 $
- author: Michael Wallner <mike@php.net>

Located in /I18N/core/Gettext/MO.php (line 53)

    TGettext
       |
       --TGettext_MO

Variable Summary
bool $writeBigEndian
resource $_handle
Method Summary
object File_Gettext_MO TGettext_MO ([string $file = ''])
mixed load ([string $file = null])
mixed save ([string $file = null])
Variables
bool $writeBigEndian = false (line 71)

big endianess

Whether to write with big endian byte order.

- access: protected

resource $_handle = null (line 61)

file handle

- access: protected

#### Inherited Variables

Inherited from TGettext

> TGettext::$file
> TGettext::$meta
> TGettext::$strings

Methods
Constructor TGettext_MO (line 80)

Constructor

- access: public

object File_Gettext_MO TGettext_MO ([string $file = ''])

- string $file: path to GNU MO file

load (line 171)

Load MO file

- return: Returns true on success or PEAR_Error on failure.
- access: public

mixed load ([string $file = null])

- string $file

save (line 267)

Save MO file

- return: Returns true on success or PEAR_Error on failure.
- access: public

mixed save ([string $file = null])

- string $file

#### Inherited Methods

Inherited From TGettext

> TGettext::factory()
> TGettext::fromArray()
> TGettext::meta2array()
> TGettext::poFile2moFile()
> TGettext::prepare()
> TGettext::toArray()
> TGettext::toMO()
> TGettext::toPO()

Documentation generated on Mon, 01 May 2006 23:02:40 -0400 by phpDocumentor 1.3.0RC4