Public Member Functions | Protected Member Functions

Zend_Translate_Adapter_Tmx Class Reference

Inheritance diagram for Zend_Translate_Adapter_Tmx:
Zend_Translate_Adapter

Public Member Functions

 __construct ($data, $locale=null, array $options=array())
 toString ()

Protected Member Functions

 _loadTranslationData ($filename, $locale, array $options=array())

Detailed Description

Definition at line 36 of file Tmx.php.


Constructor & Destructor Documentation

__construct ( data,
locale = null,
array $  options = array() 
)

Generates the tmx adapter This adapter reads with php's xml_parser

Parameters:
string$dataTranslation data
string | Zend_Locale$localeOPTIONAL Locale/Language to set, identical with locale identifier, see Zend_Locale for more information
array$optionsOPTIONAL Options to set

Reimplemented from Zend_Translate_Adapter.

Definition at line 54 of file Tmx.php.


Member Function Documentation

_loadTranslationData ( filename,
locale,
array $  options = array() 
) [protected]

Load translation data (TMX file reader)

Parameters:
string$filenameTMX file to add, full path must be given for access
string$localeLocale has no effect for TMX because TMX defines all languages within the source file
array$optionOPTIONAL Options to use
Exceptions:
Zend_Translation_Exception
Returns:
array

Reimplemented from Zend_Translate_Adapter.

Definition at line 70 of file Tmx.php.

toString (  )

Returns the adapter name

Returns:
string

Reimplemented from Zend_Translate_Adapter.

Definition at line 177 of file Tmx.php.


The documentation for this class was generated from the following file: