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
string
The string to be translated
string
The translated string__construct() : void
Empty by default, allows subclass initialization.
setCallback(mixed $object, string $method) : void
mixed
Translation class
string
Translation class
$_callback : array