Class Zend_Translate

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

Located in /Translate.php (line 34)


	
			
Class Constant Summary
 AN_ARRAY = 'Array'
 AN_CSV = 'Csv'
 AN_GETTEXT = 'Gettext'
 AN_INI = 'Ini'
 AN_QT = 'Qt'
 AN_TBX = 'Tbx'
 AN_TMX = 'Tmx'
 AN_XLIFF = 'Xliff'
 AN_XMLTM = 'XmlTm'
 LOCALE_DIRECTORY = 'directory'
 LOCALE_FILENAME = 'filename'
Method Summary
 static void clearCache ()
 static boolean hasCache ()
 static void removeCache ()
 static void setCache ( $cache)
 Zend_Translate __construct ([array|Zend_Config $options = array()])
 void setAdapter ([array|Zend_Config $options = array()])
 void __call ( $method,  $options)
Methods
static clearCache (line 207)

Clears all set cache data

  • access: public
static void clearCache ()
static getCache (line 162)

Returns the set cache

  • return: The set cache
  • access: public
static Zend_Cache_Core getCache ()
static hasCache (line 183)

Returns true when a cache is set

  • access: public
static boolean hasCache ()
static removeCache (line 197)

Removes any set cache

  • access: public
static void removeCache ()
static setCache (line 173)

Sets a cache for all instances of Zend_Translate

  • access: public
static void setCache ( $cache)
Constructor __construct (line 65)

Generates the standard translation object

  • throws: Zend_Translate_Exception
  • access: public
Zend_Translate __construct ([array|Zend_Config $options = array()])
getAdapter (line 152)

Returns the adapters name and it's options

  • access: public
Zend_Translate_Adapter getAdapter ()
setAdapter (line 98)

Sets a new adapter

  • throws: Zend_Translate_Exception
  • access: public
void setAdapter ([array|Zend_Config $options = array()])
__call (line 215)

Calls all methods from the adapter

  • access: public
void __call ( $method,  $options)
  • $method
  • array $options
Class Constants
AN_ARRAY = 'Array' (line 38)

Adapter names constants

AN_CSV = 'Csv' (line 39)
AN_GETTEXT = 'Gettext' (line 40)
AN_INI = 'Ini' (line 41)
AN_QT = 'Qt' (line 42)
AN_TBX = 'Tbx' (line 43)
AN_TMX = 'Tmx' (line 44)
AN_XLIFF = 'Xliff' (line 45)
AN_XMLTM = 'XmlTm' (line 46)
LOCALE_DIRECTORY = 'directory' (line 48)
LOCALE_FILENAME = 'filename' (line 49)

Documentation generated on Mon, 21 Jun 2010 15:49:54 -0400 by phpDocumentor 1.4.3