Transcoder Class Reference
[Db]

Multi-class transcoder; uses mbstring and iconv if available, otherwise falls back to built-in classes. More...

List of all members.

Public Member Functions

 trans ($string)
 Transcoder ($fromEncoding, $toEncoding, $translit=false)


Detailed Description

Multi-class transcoder; uses mbstring and iconv if available, otherwise falls back to built-in classes.

Definition at line 18 of file Transcoder.inc.php.


Member Function Documentation

Transcoder.trans ( string  ) 

Transcode a string

Parameters:
$string string String to transcode
Returns:
string Result of transcoding

Definition at line 45 of file Transcoder.inc.php.

References String.html2ascii(), String.html2utf(), and String.utf2html().

Transcoder.Transcoder ( fromEncoding,
toEncoding,
translit = false 
)

Constructor

Parameters:
$fromEncoding string Name of source encoding
$toEncoding string Name of target encoding
$translit boolean Whether or not to transliterate while transcoding

Definition at line 34 of file Transcoder.inc.php.


The documentation for this class was generated from the following file:

Generated on Mon Jul 14 10:55:48 2008 for Open Journal Systems by  doxygen 1.5.6