Translation2

Table of Contents
Class Summary Translation2 -- Translation2 class
Introduction -- Usage of Translation2
Admin Introduction -- Usage of Translation2_Admin
Containers Overview -- Overview of the different Translation2 containers
constructor Translation2::Translation2() -- Constructor
Translation2::get() -- Get translated string
Translation2::getDecorator() -- Return an instance of a decorator
Translation2::getLang() -- get lang info
Translation2::getLangs() -- get langs
Translation2::getPage() -- Get an entire group of strings
Translation2::getRawPage() -- Get the array of strings in a page
Translation2::setLang() -- Set default lang
Translation2::setPageID() -- Set default page
Translation2::setParams() -- Set parameters for next string
Translation2::translate() -- Get translated string
Class Summary Translation2_Admin -- Administration utilities for translation string management
Translation2_Admin::add() -- add a new translation
Translation2_Admin::createNewLang() -- Prepare the storage container for a new lang.
Translation2_Admin::remove() -- remove a translated string
Translation2_Admin::removeLang() -- Remove the language from the langsAvail table and drop the strings table.
Class Summary Translation2_Decorator -- Decorates a Translation2 class.
constructor Translation2_Decorator::Translation2_Decorator() -- Constructor
Translation2_Decorator::get() -- Get translated string
Translation2_Decorator::getDecorator() -- Return an instance of a decorator
Translation2_Decorator::getLang() -- get lang info
Translation2_Decorator::getLangs() -- get langs
Translation2_Decorator::getPage() -- Same as getRawPage, but resort to fallback language and replace parameters when needed
Translation2_Decorator::getRawPage() -- Get the array of strings in a page
Translation2_Decorator::setLang() -- Set default lang
Translation2_Decorator::setOption() -- set Decorator option
Translation2_Decorator::setOptions() -- set Decorator options
Translation2_Decorator::setPageID() -- Set default page
Translation2_Decorator::setParams() -- Set parameters for next string
Translation2_Decorator::translate() -- Get translated string
Class Summary Translation2_Decorator_BBCode -- Renders BBCode. Requires PEAR::HTML_BBCodeParser
Class Summary Translation2_Decorator_CacheLiteFunction -- Decorator to cache fetched data using Cache_Lite_Function class
Class Summary Translation2_Decorator_CacheMemory -- Decorator to cache fetched data in memory
Class Summary Translation2_Decorator_DefaultText -- Decorator to provide a fallback text for empty strings.
Class Summary Translation2_Decorator_Lang -- Decorator to provide a fallback language for empty strings.
Class Summary Translation2_Decorator_SpecialChars -- Decorator to replace special chars with the matching html entities.
Class Summary Translation2_Decorator_UTF8 -- Decorator to convert UTF-8 strings to ISO-8859-1
Package Translation2 Constants -- Constants defined in and used by Translation2