Class Zend_Translate_Adapter_Tmx

Description
  • copyright: Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Translate/Adapter/Tmx.php (line 36)

Zend_Translate_Adapter
   |
   --Zend_Translate_Adapter_Tmx
Method Summary
 Zend_Translate_Adapter_Tmx __construct (string $data, [string|Zend_Locale $locale = null], [ $options = array()])
 string toString ()
 array _loadTranslationData (string $filename, string $locale, [ $options = array()], array $option)
Variables
Methods
Constructor __construct (line 54)

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

  • access: public
Zend_Translate_Adapter_Tmx __construct (string $data, [string|Zend_Locale $locale = null], [ $options = array()])
  • string $data: Translation data
  • string|Zend_Locale $locale: OPTIONAL Locale/Language to set, identical with locale identifier, see Zend_Locale for more information
  • array $options: OPTIONAL Options to set

Redefinition of:
Zend_Translate_Adapter::__construct()
Generates the adapter
toString (line 177)

Returns the adapter name

  • access: public
string toString ()

Redefinition of:
Zend_Translate_Adapter::toString()
Returns the adapter name
_loadTranslationData (line 70)

Load translation data (TMX file reader)

  • throws: Zend_Translation_Exception
  • access: protected
array _loadTranslationData (string $filename, string $locale, [ $options = array()], array $option)
  • string $filename: TMX file to add, full path must be given for access
  • string $locale: Locale has no effect for TMX because TMX defines all languages within the source file
  • array $option: OPTIONAL Options to use
  • array $options

Redefinition of:
Zend_Translate_Adapter::_loadTranslationData()
Load translation data

Inherited Methods

Inherited From Zend_Translate_Adapter

 Zend_Translate_Adapter::__construct()
 Zend_Translate_Adapter::addTranslation()
 Zend_Translate_Adapter::clearCache()
 Zend_Translate_Adapter::getCache()
 Zend_Translate_Adapter::getList()
 Zend_Translate_Adapter::getLocale()
 Zend_Translate_Adapter::getMessageIds()
 Zend_Translate_Adapter::getMessages()
 Zend_Translate_Adapter::getOptions()
 Zend_Translate_Adapter::hasCache()
 Zend_Translate_Adapter::isAvailable()
 Zend_Translate_Adapter::isTranslated()
 Zend_Translate_Adapter::plural()
 Zend_Translate_Adapter::removeCache()
 Zend_Translate_Adapter::setCache()
 Zend_Translate_Adapter::setLocale()
 Zend_Translate_Adapter::setOptions()
 Zend_Translate_Adapter::toString()
 Zend_Translate_Adapter::translate()
 Zend_Translate_Adapter::_()
 Zend_Translate_Adapter::_loadTranslationData()
 Zend_Translate_Adapter::_log()
Class Constants

Documentation generated on Thu, 01 Apr 2010 13:26:27 -0400 by phpDocumentor 1.4.3