File_Gettext
[ class tree: File_Gettext ] [ index: File_Gettext ] [ all elements ]

Class: File_Gettext_MO

Source Location: /File_Gettext-0.4.2/File/Gettext/MO.php

Class Overview

File_Gettext
   |
   --File_Gettext_MO

File_Gettext_MO


Author(s):

Copyright:

  • 2004-2005 Michael Wallner

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 35]
File_Gettext_MO

GNU MO file reader and writer.



[ Top ]


Class Variables

$writeBigEndian =  false

[line 53]

big endianess

Whether to write with big endian byte order.

  • Access: public

Type:   bool


[ Top ]



Method Detail

File_Gettext_MO (Constructor)   [line 63]

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

Constructor
  • Access: public

Parameters:

string   $file     path to GNU MO file

[ Top ]

load   [line 163]

mixed load( [string $file = null])

Load MO file
  • Return: Returns true on success or PEAR_Error on failure.
  • Access: public

Parameters:

string   $file     File path to load

[ Top ]

save   [line 329]

mixed save( [string $file = null])

Save MO file
  • Return: Returns true on success or PEAR_Error on failure.
  • Access: public

Parameters:

string   $file     File path to write to

[ Top ]


Documentation generated on Sun, 04 Mar 2012 04:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.