Babelfish Class Reference

List of all members.

Public Member Functions

 host ()
 links ($lang_from= 'en')
 url ($lang_from, $lang_to)

Static Public Member Functions

 logo ($lang= 'en')

Detailed Description

Definition at line 16 of file Babelfish.php.


Member Function Documentation

Babelfish::host (  ) 

Return the host name of the server

Todo:
move to BitBase class

Definition at line 22 of file Babelfish.php.

References $_SERVER.

Babelfish::links ( lang_from = 'en'  ) 

Return HTML of babelfish links

Parameters:
lang_from Language to translate from

Definition at line 93 of file Babelfish.php.

References $msg, and url().

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

Parameters:
lang_from 
lang_to 

Definition at line 57 of file Babelfish.php.

References $_SERVER, and $url.

Referenced by links().


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:33:59 2007 for bitweaver by  doxygen 1.5.2