Public Member Functions | |
| host () | |
| links ($lang_from= 'en') | |
| url ($lang_from, $lang_to) | |
Static Public Member Functions | |
| logo ($lang= 'en') | |
Definition at line 16 of file Babelfish.php.
| Babelfish::host | ( | ) |
Return the host name of the server
Definition at line 22 of file Babelfish.php.
References $_SERVER.
| Babelfish::links | ( | $ | lang_from = 'en' |
) |
Return HTML of babelfish links
| lang_from | Language to translate from |
Definition at line 93 of file Babelfish.php.
Here is the call graph for this function:

| Babelfish::logo | ( | $ | lang = 'en' |
) | [static] |
Return javascript code to display babelfish logo
Definition at line 155 of file Babelfish.php.
References $s.
| Babelfish::url | ( | $ | lang_from, | |
| $ | lang_to | |||
| ) |
Return babelfish URL to translate $lang_from to $lang_to
| lang_from | ||
| lang_to |
Definition at line 57 of file Babelfish.php.
References $_SERVER, and $url.
Referenced by links().
1.5.2