[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/I18N/core/Gettext/ -> MO.php (sommaire)

TGettext_MO class file. This program is free software; you can redistribute it and/or modify it under the terms of the BSD License.

Author: Wei Zhuo
Version: $Revision: 1.3 $ $Date: 2005/08/27 03:21:12 $
Poids: 356 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TGettext_MO:: (9 méthodes):
  TGettext_MO()
  _read()
  _readInt()
  _writeInt()
  _write()
  _writeStr()
  _readStr()
  load()
  save()


Classe: TGettext_MO  - X-Ref

File_Gettext_MO

GNU MO file reader and writer.

TGettext_MO($file = '')   X-Ref
Constructor

param: string      $file   path to GNU MO file
return: object      File_Gettext_MO

_read($bytes = 1)   X-Ref
_read

param: int     $bytes
return: mixed

_readInt($bigendian = false)   X-Ref
_readInt

param: bool    $bigendian
return: int

_writeInt($int)   X-Ref
_writeInt

param: int     $int
return: int

_write($data)   X-Ref
_write

param: string  $data
return: int

_writeStr($string)   X-Ref
_writeStr

param: string  $string
return: int

_readStr($params)   X-Ref
_readStr

param: array   $params     associative array with offset and length
return: string

load($file = null)   X-Ref
Load MO file

param: string  $file
return: mixed   Returns true on success or PEAR_Error on failure.

save($file = null)   X-Ref
Save MO file

param: string  $file
return: mixed   Returns true on success or PEAR_Error on failure.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7