Translation2
Prev
Next
Translation2
Table of Contents
Translation2 クラス概要
— Translation2 クラス
導入
— Translation2 の使用法
管理者向けの導入
— Translation2_Admin の使用法
コンテナの概要
— さまざまな Translation2 コンテナの概要
constructor Translation2::Translation2
— コンストラクタ
Translation2::factory
— Translation2 オブジェクトのインスタンスを返す
Translation2::get
— 翻訳された文字列を取得する
Translation2::getDecorator
— デコレータのインスタンスを返す
Translation2::getLang
— 言語情報を取得する
Translation2::getLangs
— 言語情報を取得する
Translation2::getPage
— 文字列グループの全体を取得する
Translation2::getRaw
— 翻訳された文字列を (そのままの形式で) 取得する
Translation2::getRawPage
— ページ内の文字列の配列を取得する
Translation2::getStringID
— 指定した文字列に対応する stringID を取得する
Translation2::replaceEmptyStringsWithKeys
— 配列の値が空の場合に、キーの内容で置き換える
Translation2::setCharset
— 翻訳を取得/保存する際に使用する文字セットを設定する
Translation2::setLang
— デフォルトの言語を設定する
Translation2::setPageID
— デフォルトのページを設定する
Translation2::setParams
— 次の文字列のパラメータを設定する
Translation2_Admin クラス概要
— 翻訳文字管理のための管理ユーティリティ群
Translation2_Admin::addLang
— 新しい言語に対応するためにストレージコンテナを準備する
Translation2_Admin::updateLang
— 言語の詳細を更新する
Translation2_Admin::removeLang
— langsAvail テーブルから言語を削除し、文字列テーブルを削除する
Translation2_Admin::add
— 新しい翻訳を追加する
Translation2_Admin::remove
— 翻訳文字列を削除する
Translation2_Admin::update
— 既存の翻訳を更新する
Translation2_Admin::removePage
— ページ/グループ内のすべての翻訳文字列を削除する
Translation2_Admin::cleanCache
— キャッシュをクリアする。CacheLiteFunction デコレータのみで使用可能
Translation2_Admin::getPageNames
— 任意のテーブルから、すべての pageID の一覧を取得する
Translation2_Admin::getAdminDecorator
— admin デコレータのインスタンスを返す
Translation2_Decorator クラス概要
— Translation2 クラスをデコレートする
Translation2_Decorator_CacheLiteFunction クラス概要
— Cache_Lite_Function クラスを用いて、取得したデータをキャッシュするデコレータ
Translation2_Decorator_CacheMemory クラス概要
— 取得したデータをメモリにキャッシュするデコレータ
Translation2_Decorator_DefaultText クラス概要
— 空の文字列に対する代替テキストを提供するデコレータ
Translation2_Decorator_ErrorText クラス概要
— 空の文字列に対するエラーメッセージを提供するデコレータ
Translation2_Decorator_Lang クラス概要
— 空の文字列に対する代替言語を提供するデコレータ
Translation2_Decorator_Iconv クラス概要
— 異なるエンコーディングへの切り替えを行うデコレータ
Translation2_Decorator_SpecialChars クラス概要
— 特殊文字を、対応する html エンティティに変換するデコレータ
Translation2_Decorator_UTF8 クラス概要
— UTF-8 文字列を ISO-8859-1 に変換するデコレータ
Translation2 パッケージの定数
— Translation2 で定義され、使用されている定数