Index of all elements
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ l ]
[ m ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ w ]
[ _ ]
a
- add
- in file mdb2.php, method Translation2_Admin_Container_mdb2::add()
Add a new entry in the strings table.
- add
- in file gettext.php, method Translation2_Admin_Container_gettext::add()
Add a new entry in the strings domain.
- add
- in file db.php, method Translation2_Admin_Container_db::add()
Add a new entry in the strings table.
- add
- in file mdb.php, method Translation2_Admin_Container_mdb::add()
Add a new entry in the strings table.
- add
- in file Admin.php, method Translation2_Admin::add()
add a new translation
- add
- in file dataobjectsimple.php, method Translation2_Admin_Container_dataobjectsimple::add()
Add a new entry in the strings table.
- addLangToAvailList
- in file mdb.php, method Translation2_Admin_Container_mdb::addLangToAvailList()
Creates a new entry in the langsAvail table.
- addLangToAvailList
- in file mdb2.php, method Translation2_Admin_Container_mdb2::addLangToAvailList()
Creates a new entry in the langsAvail table.
- addLangToAvailList
- in file db.php, method Translation2_Admin_Container_db::addLangToAvailList()
Creates a new entry in the langsAvail table.
- addLangToAvailList
- in file gettext.php, method Translation2_Admin_Container_gettext::addLangToAvailList()
Creates a new entry in the langsAvail .ini file.
- addLangToAvailList
- in file dataobjectsimple.php, method Translation2_Admin_Container_dataobjectsimple::addLangToAvailList()
Creates a new entry in the langsAvail table.
- Admin.php
- procedural page Admin.php
top
c
- $cacheLiteFunction
- in file CacheLiteFunction.php, variable Translation2_Decorator_CacheLiteFunction::$cacheLiteFunction
Cache_Lite_Function object
- $caching
- in file CacheLiteFunction.php, variable Translation2_Decorator_CacheLiteFunction::$caching
Enable / disable caching
- $charset
- in file SpecialChars.php, variable Translation2_Decorator_SpecialChars::$charset
- $currentPageID
- in file Decorator.php, variable Translation2_Decorator::$currentPageID
- $currentPageID
- in file Translation2.php, variable Translation2::$currentPageID
Current pageID
- createNewLang
- in file gettext.php, method Translation2_Admin_Container_gettext::createNewLang()
Creates a new entry in the langs_avail .ini file.
- createNewLang
- in file mdb2.php, method Translation2_Admin_Container_mdb2::createNewLang()
Creates a new table to store the strings in this language.
- createNewLang
- in file mdb.php, method Translation2_Admin_Container_mdb::createNewLang()
Creates a new table to store the strings in this language.
- createNewLang
- in file dataobjectsimple.php, method Translation2_Admin_Container_dataobjectsimple::createNewLang()
Creates a new table to store the strings in this language.
- createNewLang
- in file Admin.php, method Translation2_Admin::createNewLang()
Prepare the storage container for a new lang.
- createNewLang
- in file db.php, method Translation2_Admin_Container_db::createNewLang()
Creates a new table to store the strings in this language.
- Container.php
- procedural page Container.php
- CacheLiteFunction.php
- procedural page CacheLiteFunction.php
- CacheMemory.php
- procedural page CacheMemory.php
top
top
top
top
g
- get
- in file Lang.php, method Translation2_Decorator_Lang::get()
Get translated string
- get
- in file CacheLiteFunction.php, method Translation2_Decorator_CacheLiteFunction::get()
Get translated string
- get
- in file SpecialChars.php, method Translation2_Decorator_SpecialChars::get()
Get translated string
- get
- in file Translation2.php, method Translation2::get()
Get translated string
- get
- in file UTF8.php, method Translation2_Decorator_UTF8::get()
Get translated string
- get
- in file Decorator.php, method Translation2_Decorator::get()
Get translated string
- get
- in file DefaultText.php, method Translation2_Decorator_DefaultText::get()
Get translated string
- get
- in file CacheMemory.php, method Translation2_Decorator_CacheMemory::get()
Get translated string
- getDecorator
- in file Translation2.php, method Translation2::getDecorator()
Return an instance of a decorator
- getDecorator
- in file Decorator.php, method Translation2_Decorator::getDecorator()
Return an instance of a decorator
- getLang
- in file Container.php, method Translation2_Container::getLang()
Gets the current lang
- getLang
- in file Translation2.php, method Translation2::getLang()
get lang info
- getLang
- in file Decorator.php, method Translation2_Decorator::getLang()
get lang info
- getLangData
- in file Container.php, method Translation2_Container::getLangData()
Gets the array data for the lang
- getLangs
- in file Decorator.php, method Translation2_Decorator::getLangs()
get langs
- getLangs
- in file Container.php, method Translation2_Container::getLangs()
Gets the available languages
- getLangs
- in file Translation2.php, method Translation2::getLangs()
get langs
- getOne
- in file mdb2.php, method Translation2_Container_mdb2::getOne()
Get a single item from the container, without caching the whole page
- getOne
- in file mdb.php, method Translation2_Container_mdb::getOne()
Get a single item from the container, without caching the whole page
- getOne
- in file gettext.php, method Translation2_Container_gettext::getOne()
Get a single item from the container, without caching the whole page
- getOne
- in file Container.php, method Translation2_Container::getOne()
Get a single item from the container, without caching the whole page Containers should implement this method.
- getOne
- in file dataobjectsimple.php, method Translation2_Container_dataobjectsimple::getOne()
Get a single item from the container, without caching the whole page
- getOne
- in file db.php, method Translation2_Container_db::getOne()
Get a single item from the container, without caching the whole page
- getPage
- in file mdb2.php, method Translation2_Container_mdb2::getPage()
Returns an array of the strings in the selected page
- getPage
- in file dataobjectsimple.php, method Translation2_Container_dataobjectsimple::getPage()
Returns an array of the strings in the selected page
- getPage
- in file SpecialChars.php, method Translation2_Decorator_SpecialChars::getPage()
Same as getRawPage, but apply transformations when needed
- getPage
- in file Container.php, method Translation2_Container::getPage()
Returns an array of the strings in the selected page Containers should implement this method.
- getPage
- in file UTF8.php, method Translation2_Decorator_UTF8::getPage()
Same as getRawPage, but resort to fallback language and replace parameters when needed
- getPage
- in file CacheLiteFunction.php, method Translation2_Decorator_CacheLiteFunction::getPage()
Same as getRawPage, but resort to fallback language and replace parameters when needed
- getPage
- in file Translation2.php, method Translation2::getPage()
Get an entire group of strings
- getPage
- in file Lang.php, method Translation2_Decorator_Lang::getPage()
Same as getRawPage, but resort to fallback language and replace parameters when needed
- getPage
- in file mdb.php, method Translation2_Container_mdb::getPage()
Returns an array of the strings in the selected page
- getPage
- in file db.php, method Translation2_Container_db::getPage()
Returns an array of the strings in the selected page
- getPage
- in file DefaultText.php, method Translation2_Decorator_DefaultText::getPage()
Replace empty strings with their $stringID
- getPage
- in file Decorator.php, method Translation2_Decorator::getPage()
Same as getRawPage, but resort to fallback language and replace parameters when needed
- getPage
- in file gettext.php, method Translation2_Container_gettext::getPage()
Get all the strings from a domain (parsing the .mo file)
- getPage
- in file CacheMemory.php, method Translation2_Decorator_CacheMemory::getPage()
Same as getRawPage, but resort to fallback language and replace parameters when needed
- getRawPage
- in file Decorator.php, method Translation2_Decorator::getRawPage()
Get the array of strings in a page
- getRawPage
- in file Translation2.php, method Translation2::getRawPage()
Get the array of strings in a page
- getRawPage
- in file CacheMemory.php, method Translation2_Decorator_CacheMemory::getRawPage()
Get the array of strings in a page
- getRawPage
- in file CacheLiteFunction.php, method Translation2_Decorator_CacheLiteFunction::getRawPage()
Get the array of strings in a page
- getStringID
- in file mdb2.php, method Translation2_Container_mdb2::getStringID()
Get the stringID for the given string
- getStringID
- in file dataobjectsimple.php, method Translation2_Container_dataobjectsimple::getStringID()
Get the stringID for the given string
- getStringID
- in file mdb.php, method Translation2_Container_mdb::getStringID()
Get the stringID for the given string
- getStringID
- in file db.php, method Translation2_Container_db::getStringID()
Get the stringID for the given string
- getStringID
- in file gettext.php, method Translation2_Container_gettext::getStringID()
Get the stringID for the given string
- getStringID
- in file Container.php, method Translation2_Container::getStringID()
Get the stringID for the given string
- getValue
- in file settings.php, function getValue()
- gettext.php
- procedural page gettext.php
- gettext.php
- procedural page gettext.php
top
top
top
top
top
top
r
- $rawData
- in file CacheMemory.php, variable Translation2_Decorator_CacheMemory::$rawData
Translated strings array Used for cache purposes.
- raiseError
- in file Container.php, method Translation2_Container::raiseError()
Trigger a PEAR error
- remove
- in file dataobjectsimple.php, method Translation2_Admin_Container_dataobjectsimple::remove()
Remove an entry from the strings table.
- remove
- in file db.php, method Translation2_Admin_Container_db::remove()
Remove an entry from the strings table.
- remove
- in file mdb2.php, method Translation2_Admin_Container_mdb2::remove()
Remove an entry from the strings table.
- remove
- in file Admin.php, method Translation2_Admin::remove()
remove a translated string
- remove
- in file gettext.php, method Translation2_Admin_Container_gettext::remove()
Remove an entry from the strings domain.
- remove
- in file mdb.php, method Translation2_Admin_Container_mdb::remove()
Remove an entry from the strings table.
- removeLang
- in file Admin.php, method Translation2_Admin::removeLang()
Remove the lang from the langsAvail table and drop the strings table.
- replaceEmptyStringsWithKeys
- in file Translation2.php, method Translation2::replaceEmptyStringsWithKeys()
Replace empty strings with their stringID
- replaceEmptyStringsWithKeys
- in file Decorator.php, method Translation2_Decorator::replaceEmptyStringsWithKeys()
Replace empty strings with their stringID
top
s
- $storage
- in file Translation2.php, variable Translation2::$storage
Storage object
- $storage
- in file Decorator.php, variable Translation2_Decorator::$storage
Used for debug only.
- setLang
- in file Container.php, method Translation2_Container::setLang()
Sets the current lang
- setLang
- in file Translation2.php, method Translation2::setLang()
Set default lang
- setLang
- in file gettext.php, method Translation2_Container_gettext::setLang()
Sets the current lang
- setLang
- in file Decorator.php, method Translation2_Decorator::setLang()
Set default lang
- setOption
- in file Decorator.php, method Translation2_Decorator::setOption()
set Decorator option
- setOption
- in file Lang.php, method Translation2_Decorator_Lang::setOption()
set Decorator option (intercept 'fallbackLang' option).
- setOptions
- in file Decorator.php, method Translation2_Decorator::setOptions()
set Decorator options
- setPageID
- in file Translation2.php, method Translation2::setPageID()
Set default page
- setPageID
- in file Decorator.php, method Translation2_Decorator::setPageID()
Set default page
- setParams
- in file Decorator.php, method Translation2_Decorator::setParams()
Set parameters for next string
- setParams
- in file Translation2.php, method Translation2::setParams()
Set parameters for next string
- SpecialChars.php
- procedural page SpecialChars.php
- settings.php
- procedural page settings.php
top
t
- $translation2
- in file Decorator.php, variable Translation2_Decorator::$translation2
Translation2 object being decorated
- TABLE_PREFIX
- in file settings.php, constant TABLE_PREFIX
- translate
- in file Decorator.php, method Translation2_Decorator::translate()
Get translated string
- translate
- in file Translation2.php, method Translation2::translate()
Get translated string
- translate
- in file CacheLiteFunction.php, method Translation2_Decorator_CacheLiteFunction::translate()
Get translated string
- Translation2
- in file Translation2.php, class Translation2
Translation2 class
- Translation2
- in file Translation2.php, method Translation2::Translation2()
Constructor
- Translation2_example.php
- procedural page Translation2_example.php
- Translation2.php
- procedural page Translation2.php
- Translation2_Admin
- in file Admin.php, class Translation2_Admin
Administration utilities for translation string management
- Translation2_Admin_Container_dataobjectsimple
- in file dataobjectsimple.php, class Translation2_Admin_Container_dataobjectsimple
Storage driver for storing/fetching data to/from a database
- Translation2_Admin_Container_db
- in file db.php, class Translation2_Admin_Container_db
Storage driver for storing/fetching data to/from a database
- Translation2_Admin_Container_gettext
- in file gettext.php, class Translation2_Admin_Container_gettext
Storage driver for storing/fetching data to/from a gettext file
- Translation2_Admin_Container_mdb
- in file mdb.php, class Translation2_Admin_Container_mdb
Storage driver for storing/fetching data to/from a database
- Translation2_Admin_Container_mdb2
- in file mdb2.php, class Translation2_Admin_Container_mdb2
Storage driver for storing/fetching data to/from a database
- Translation2_Container
- in file Container.php, class Translation2_Container
Storage class
- Translation2_Container
- in file Container.php, method Translation2_Container::Translation2_Container()
Constructor
- Translation2_Container_dataobjectsimple
- in file dataobjectsimple.php, class Translation2_Container_dataobjectsimple
Storage driver for fetching data from a simple dataobject
- Translation2_Container_db
- in file db.php, class Translation2_Container_db
Storage driver for fetching data from a database
- Translation2_Container_gettext
- in file gettext.php, class Translation2_Container_gettext
Storage driver for fetching data with gettext
- Translation2_Container_gettext
- in file gettext.php, method Translation2_Container_gettext::Translation2_Container_gettext()
Constructor of the container class
- Translation2_Container_mdb
- in file mdb.php, class Translation2_Container_mdb
Storage driver for fetching data from a database
- Translation2_Container_mdb2
- in file mdb2.php, class Translation2_Container_mdb2
Storage driver for fetching data from a database
- Translation2_Decorator
- in file Decorator.php, method Translation2_Decorator::Translation2_Decorator()
Constructor
- Translation2_Decorator
- in file Decorator.php, class Translation2_Decorator
Decorates a Translation2 class.
- Translation2_Decorator_CacheLiteFunction
- in file CacheLiteFunction.php, class Translation2_Decorator_CacheLiteFunction
Decorator to cache fetched data using Cache_Lite_Function class
- Translation2_Decorator_CacheMemory
- in file CacheMemory.php, class Translation2_Decorator_CacheMemory
Decorator to cache fetched data in memory
- Translation2_Decorator_DefaultText
- in file DefaultText.php, class Translation2_Decorator_DefaultText
Decorator to provide a fallback text for empty strings.
- Translation2_Decorator_Lang
- in file Lang.php, class Translation2_Decorator_Lang
Decorator to provide a fallback language for empty strings.
- Translation2_Decorator_SpecialChars
- in file SpecialChars.php, class Translation2_Decorator_SpecialChars
Decorator to replace special chars with the matching html entities.
- Translation2_Decorator_UTF8
- in file UTF8.php, class Translation2_Decorator_UTF8
Decorator to convert UTF-8 strings to ISO-8859-1
- TRANSLATION2_DEFAULT_PAGEID
- in file Translation2.php, constant TRANSLATION2_DEFAULT_PAGEID
Allows redefinition of the default pageID.
- TRANSLATION2_EMPTY_PAGEID_KEY
- in file CacheMemory.php, constant TRANSLATION2_EMPTY_PAGEID_KEY
Allows redefinition of alternate key for empty pageID
- TRANSLATION2_ERROR
- in file Translation2.php, constant TRANSLATION2_ERROR
Class Error codes
- TRANSLATION2_ERROR_CANNOT_CONNECT
- in file Translation2.php, constant TRANSLATION2_ERROR_CANNOT_CONNECT
- TRANSLATION2_ERROR_CANNOT_CREATE_DIR
- in file Translation2.php, constant TRANSLATION2_ERROR_CANNOT_CREATE_DIR
- TRANSLATION2_ERROR_CANNOT_FIND_FILE
- in file Translation2.php, constant TRANSLATION2_ERROR_CANNOT_FIND_FILE
- TRANSLATION2_ERROR_DOMAIN_NOT_SET
- in file Translation2.php, constant TRANSLATION2_ERROR_DOMAIN_NOT_SET
- TRANSLATION2_ERROR_INVALID_PATH
- in file Translation2.php, constant TRANSLATION2_ERROR_INVALID_PATH
- TRANSLATION2_ERROR_METHOD_NOT_SUPPORTED
- in file Translation2.php, constant TRANSLATION2_ERROR_METHOD_NOT_SUPPORTED
- TRANSLATION2_NULL_PAGEID_KEY
- in file CacheMemory.php, constant TRANSLATION2_NULL_PAGEID_KEY
Allows redefinition of alternate key for null pageID
top
top
top
top
Documentation generated on Mon, 11 Mar 2019 13:56:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|