Public Member Functions | Protected Member Functions

Zend_Translate_Adapter_Csv Class Reference

Inheritance diagram for Zend_Translate_Adapter_Csv:
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 Csv.php.


Constructor & Destructor Documentation

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

Generates the adapter

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

Reimplemented from Zend_Translate_Adapter.

Definition at line 48 of file Csv.php.


Member Function Documentation

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

Load translation data

Parameters:
string | array$filenameFilename and full path to the translation source
string$localeLocale/Language to add data for, identical with locale identifier, see Zend_Locale for more information
array$optionOPTIONAL Options to use
Returns:
array

Reimplemented from Zend_Translate_Adapter.

Definition at line 65 of file Csv.php.

toString (  )

returns the adapters name

Returns:
string

Reimplemented from Zend_Translate_Adapter.

Definition at line 100 of file Csv.php.


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