Class TGettext_PO

Description

File_Gettext_PO

GNU PO file reader and writer.

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

Located in /I18N/core/Gettext/PO.php (line 52)

TGettext
   |
   --TGettext_PO
Method Summary
object File_Gettext_PO TGettext_PO ([string $file = ''])
mixed load ([string $file = null])
mixed save ([string $file = null])
Variables

Inherited Variables

Inherited from TGettext

TGettext::$file
TGettext::$meta
TGettext::$strings
Methods
Constructor TGettext_PO (line 61)

Constructor

  • access: public
object File_Gettext_PO TGettext_PO ([string $file = ''])
  • string $file: path to GNU PO file
load (line 73)

Load PO file

  • return: Returns true on success or PEAR_Error on failure.
  • access: public
mixed load ([string $file = null])
  • string $file
save (line 122)

Save PO 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 Sun, 04 Jun 2006 18:58:31 -0400 by phpDocumentor 1.3.0RC4