Re: I18N_DateTime unsing static instance
| From: | Pierre-Alain Joye | Date: | Wed, 21 May 2003 15:03:31 +0000 |
| Subject: | Re: I18N_DateTime unsing static instance | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16584@lists.php.net to get a copy of this message | ||
On Wed, 21 May 2003 17:00:19 +0200
"Lukas Smith" <smith@backendmedia.com> wrote:
> A singleton will not really safe me here nor the syntax improvement
> from php5. I just want to be able to do this translation in a function
> without starting to global, instantiate, call a singleton. But maybe I
> am thinking about a situation that does not exist in real life,
> because I am not yet using the i18n class.
Huh :). Well, how do you want to get the translation? a simple function?
pierre