PHP Class Prado\I18N\core\Gettext\TGettext_PO

GNU PO file reader and writer.
Author: Michael Wallner ([email protected])
Inheritance: extends TGettext
Afficher le fichier Open project: pradosoft/prado Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $file = '' ) : object Constructor
load ( string $file = null ) : mixed Load PO file
save ( string $file = null ) : mixed Save PO file

Method Details

__construct() public méthode

Constructor
public __construct ( $file = '' ) : object
Résultat object File_Gettext_PO

load() public méthode

Load PO file
public load ( string $file = null ) : mixed
$file string
Résultat mixed Returns true on success or PEAR_Error on failure.

save() public méthode

Save PO file
public save ( string $file = null ) : mixed
$file string
Résultat mixed Returns true on success or PEAR_Error on failure.