Generates the standard translation object
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
Sets a new adapter
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
Calls all methods from the adapter
string
__call
( $method, $options)