Class we_core_Translate

Description

Base class for translations

Located in /core/Translate.php (line 28)

Zend_Translate
   |
   --we_core_Translate
Method Summary
we_core_Translate __construct (string $adapter, array $data, [string|Zend_Locale $locale = null], [ $options = array()])
void setAdapter (string $adapter, string|array $data, [string|Zend_Locale $locale = null], [ $options = array()])
string __call ( $method,  $options)
Methods
Constructor __construct (line 55)

Generates the standard translation object

  • throws: Zend_Translate_Exception
  • access: public
we_core_Translate __construct (string $adapter, array $data, [string|Zend_Locale $locale = null], [ $options = array()])
  • string $adapter: Adapter to use
  • array $data: Translation source data for the adapter Depends on the Adapter
  • string|Zend_Locale $locale: OPTIONAL locale to use
  • array $options: OPTIONAL options for the adapter
setAdapter (line 69)

Sets a new adapter

  • throws: Zend_Translate_Exception
  • access: public
void setAdapter (string $adapter, string|array $data, [string|Zend_Locale $locale = null], [ $options = array()])
  • string $adapter: Adapter to use
  • string|array $data: Translation data
  • string|Zend_Locale $locale: OPTIONAL locale to use
  • array $options: OPTIONAL Options to use
__call (line 114)

Calls all methods from the adapter

  • access: public
string __call ( $method,  $options)
  • $method
  • array $options

Documentation generated on Mon, 01 Sep 2008 11:35:45 +0200 by phpDocumentor 1.4.0