Public Member Functions | Protected Member Functions

Zend_Translate_Adapter_Xliff Class Reference

Inheritance diagram for Zend_Translate_Adapter_Xliff:
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 Xliff.php.


Constructor & Destructor Documentation

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

Generates the xliff 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 58 of file Xliff.php.


Member Function Documentation

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

Load translation data (XLIFF file reader)

Parameters:
string$localeLocale/Language to add data for, identical with locale identifier, see Zend_Locale for more information
string$filenameXLIFF file to add, full path must be given for access
array$optionOPTIONAL Options to use
Exceptions:
Zend_Translation_Exception
Returns:
array

Reimplemented from Zend_Translate_Adapter.

Definition at line 74 of file Xliff.php.

toString (  )

Returns the adapter name

Returns:
string

Reimplemented from Zend_Translate_Adapter.

Definition at line 216 of file Xliff.php.


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