Class Summary Translation2_Decorator_DefaultText (Previous) (Next) Class Summary Translation2_Decorator_Lang

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

Class Summary Translation2_Decorator_ErrorText

Class Summary Translation2_Decorator_ErrorText  -- Decorator to provide a fallback error_text message for empty strings.

ErrorText Decorator Example

When the fetched string is empty, it replaces it with the contents of the "error_text" column of the langs_avail table


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

Class Summary Translation2_Decorator_DefaultText (Previous) (Next) Class Summary 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.