cvs: pear /Translation2 Decorator.php
| From: | Lorenzo Alberton | Date: | Fri, 23 Apr 2004 14:49:32 +0000 |
| Subject: | cvs: pear /Translation2 Decorator.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18628@lists.php.net to get a copy of this message | ||
quipo Fri Apr 23 10:49:32 2004 EDT
Modified files:
/pear/Translation2 Decorator.php
Log:
removed setFallbackLang($langID);
use setOption('fallbackLang', $langID) instead
http://cvs.php.net/diff.php/pear/Translation2/Decorator.php?r1=1.4&r2=1.5&ty=u
Index: pear/Translation2/Decorator.php
diff -u pear/Translation2/Decorator.php:1.4 pear/Translation2/Decorator.php:1.5
--- pear/Translation2/Decorator.php:1.4 Fri Apr 23 09:39:23 2004
+++ pear/Translation2/Decorator.php Fri Apr 23 10:49:31 2004
@@ -16,11 +16,11 @@
// | Authors: Lorenzo Alberton <l dot alberton at quipo dot it> |
// +----------------------------------------------------------------------+
//
-// $Id: Decorator.php,v 1.4 2004/04/23 13:39:23 quipo Exp $
+// $Id: Decorator.php,v 1.5 2004/04/23 14:49:31 quipo Exp $
//
/**
* @package Translation2
- * @version $Id: Decorator.php,v 1.4 2004/04/23 13:39:23 quipo Exp $
+ * @version $Id: Decorator.php,v 1.5 2004/04/23 14:49:31 quipo Exp $
*/
/**
* Decorates a Translation2 class.
@@ -53,13 +53,6 @@
var $lang;
/**
- * fallback lang
- * @var string
- * @access protected
- */
- var $fallbackLang;
-
- /**
* @var string
* @access protected
*/
@@ -203,34 +196,6 @@
}
// }}}
- // {{{ setDecoratedLang()
-
- /**
- * Set fallback lang
- * @param string $langID
- */
- function setFallbackLang($langID)
- {
- if (isset($this->translation2->fallbackLang)) {
- $this->translation2->fallbackLang = $langID;
- }
- }
-
- // }}}
- // {{{
-
- /**
- * Pass a Cache_Lite_Function object to the decorator
- * @param object Cache_Lite_Function instance
- */
- /*
- function setCacheLite(& $cacheLiteFunction)
- {
- $this->cacheLiteFunction = & $cacheLiteFunction;
- }
- */
-
- // }}}
// {{{ get()
/**