[ class tree: ] [ index: ] [ all elements ]

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

d

$data
in file CacheMemory.php, variable Translation2_Decorator_CacheMemory::$data
    Translated strings array Used for cache purposes.
$db
in file db.php, variable Translation2_Container_db::$db
    DB object
$db
in file mdb2.php, variable Translation2_Container_mdb2::$db
    MDB2 object
$db
in file mdb.php, variable Translation2_Container_mdb::$db
    DB object
debug
in file settings.php, function debug()
    **************************************************
dataobjectsimple.php
procedural page dataobjectsimple.php
db.php
procedural page db.php
dataobjectsimple.php
procedural page dataobjectsimple.php
db.php
procedural page db.php
DefaultText.php
procedural page DefaultText.php
Decorator.php
procedural page Decorator.php
top

e

$emptyPostfix
in file DefaultText.php, variable Translation2_Decorator_DefaultText::$emptyPostfix
    String appended to the returned string when the string is empty and it's replaced by its $stringID. It can be used to mark unreplaced strings.
$emptyPrefix
in file DefaultText.php, variable Translation2_Decorator_DefaultText::$emptyPrefix
    String prepended to the returned string when the string is empty and it's replaced by its $stringID. It can be used to mark unreplaced strings.
top

f

$fallbackLang
in file Lang.php, variable Translation2_Decorator_Lang::$fallbackLang
    fallback lang
factory
in file Translation2.php, method Translation2::factory()
    Return a Translation2 instance already initialized
factory
in file Admin.php, method Translation2_Admin::factory()
    Return a Translation2_Admin instance already initialized
fetchLangs
in file mdb2.php, method Translation2_Container_mdb2::fetchLangs()
    Fetch the available langs if they're not cached yet.
fetchLangs
in file mdb.php, method Translation2_Container_mdb::fetchLangs()
    Fetch the available langs if they're not cached yet.
fetchLangs
in file gettext.php, method Translation2_Container_gettext::fetchLangs()
    Fetch the available langs if they're not cached yet.
fetchLangs
in file Container.php, method Translation2_Container::fetchLangs()
    Fetch the available langs if they're not cached yet.
fetchLangs
in file dataobjectsimple.php, method Translation2_Container_dataobjectsimple::fetchLangs()
    Fetch the available langs if they're not cached yet.
fetchLangs
in file db.php, method Translation2_Container_db::fetchLangs()
    Fetch the available langs if they're not cached yet.
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

i

init
in file mdb2.php, method Translation2_Container_mdb2::init()
    Initialize the container
init
in file mdb.php, method Translation2_Container_mdb::init()
    Initialize the container
init
in file db.php, method Translation2_Container_db::init()
    Initialize the container
init
in file dataobjectsimple.php, method Translation2_Container_dataobjectsimple::init()
    Initialize the container
top

l

$lang
in file Decorator.php, variable Translation2_Decorator::$lang
$lang
in file Translation2.php, variable Translation2::$lang
    Default lang
Lang.php
procedural page Lang.php
top

m

mdb.php
procedural page mdb.php
mdb2.php
procedural page mdb2.php
mdb.php
procedural page mdb.php
mdb2.php
procedural page mdb2.php
top

o

$options
in file Translation2.php, variable Translation2::$options
    Class options
$options
in file Container.php, variable Translation2_Container::$options
    Additional options for the storage container
top

p

$params
in file Translation2.php, variable Translation2::$params
    Array parameters
$prefetch
in file CacheMemory.php, variable Translation2_Decorator_CacheMemory::$prefetch
    set prefetch on/off
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

u

UTF8.php
procedural page UTF8.php
update
in file db.php, method Translation2_Admin_Container_db::update()
    Update an existing entry in the strings table.
update
in file dataobjectsimple.php, method Translation2_Admin_Container_dataobjectsimple::update()
    Update an existing entry in the strings table.
top

w

writeTitle
in file settings.php, function writeTitle()
writeValue
in file settings.php, function writeValue()
top

_

_replaceParams
in file Translation2.php, method Translation2::_replaceParams()
    Replace parameters in strings
_replaceParams
in file Decorator.php, method Translation2_Decorator::_replaceParams()
    Replace parameters in strings
top

Documentation generated on Mon, 11 Mar 2019 13:56:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.