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

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

Translation2_Decorator_ErrorText クラス概要

Translation2_Decorator_ErrorText クラス概要  -- 空の文字列に対するエラーメッセージを提供するデコレータ

ErrorText デコレータの例

取得した文字列が空の文字列だった場合に、lang_avail テーブルの "error_text" の内容でそれを置き換えます。


<?php
$tr = new Translation2($driver$dbinfo$params);
$tr =& $tr->getDecorator('ErrorText');
?>

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

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.