Translation2_Decorator_Lang クラス概要 (Previous) (Next) Translation2_Decorator_SpecialChars クラス概要

View this page in Last updated: Sun, 20 Jul 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Translation2_Decorator_Iconv クラス概要

Translation2_Decorator_Iconv クラス概要  -- 異なるエンコーディングへの切り替えを行うデコレータ

Iconv デコレータの例


<?php
$tr = new Translation2($driver$dbinfo$params);

// メインの言語をハンガリー語に設定します
$tr->setLang('hu');

// すべての文字列を、文字セット ISO-8859-2 でエンコードします
$tr =& $tr->getDecorator('Iconv');
$tr->setOption('encoding''ISO-8859-2');
?>

Translation2_Decorator_Lang クラス概要 (Previous) (Next) Translation2_Decorator_SpecialChars クラス概要

Download Documentation Last updated: Sun, 20 Jul 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.