ZurmoGettextPoFile Class Reference

Public Member Functions

 __construct ($fileSource=null)
 read ($skipEmptyContext=true)
 getMessages ()

Protected Member Functions

 openFile ($fileSource=null)
 addMessage ($message, $skipEmptyContext=true)
 parseQuotedString ($string)

Protected Attributes

 $fileSource
 $fileObject
 $messages = array()

Detailed Description

Represents a PO Gettext message file

Definition at line 40 of file ZurmoGettextPoFile.php.


Member Function Documentation

read ( skipEmptyContext = true  ) 

Reads a PO file to the protected $messages class variable

Parameters:
string $file file path
bool $skipEmptyContext If set to true, then all messages without or with empty context will be skiped
Returns:
array message translations

Definition at line 81 of file ZurmoGettextPoFile.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Apr 23 07:10:32 2017