PHP Class Prado\I18N\core\Gettext\TGettext_PO

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

Public Methods

Method 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 method

Constructor
public __construct ( $file = '' ) : object
return object File_Gettext_PO

load() public method

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

save() public method

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