Formagic translator class
Provides an standard interface used by all Formagic framework classes. Contains no stand-alone translation features: If no translation callback is provided, Formagic_Translator will simply return the same string that was passed in the first place.
| category | Formagic |
|---|---|
| package | Translator |
| author | Florian Sonnenburg |
| copyright | Copyright (c) 2010 Florian Sonnenburg |
| version | $Id: Translator.php 160 2012-04-02 20:18:14Z meweasle $ |
_(string $string) : string
stringThe string to be translated
stringThe translated string__construct() : void
Empty by default, allows subclass initialization.
setCallback(mixed $object, string $method) : void
mixedTranslation class
stringTranslation class
$_callback : array