phpDocumentor GalleryCore
Helpers
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: GalleryCharsetHelper_simple

Source Location: /modules/core/classes/helpers/GalleryCharsetHelper_simple.class

Class GalleryCharsetHelper_simple

Class Overview
Method Summary
void   convertFromUtf8()  
void   convertToUtf8()  
string   detectSystemCharset()   Detect the standard charset for this system
void   utf8Strcut()  
void   utf8Substring()  

[ Top ]
Methods
convertFromUtf8  [line 173]

  void convertFromUtf8( $string, [ $targetEncoding = null]  )

Parameters:
   $string: 
   $targetEncoding: 

API Tags:
See:  GalleryCoreApi::convertFromUtf8 Warning: If neither iconv, http://www.php.net/mb_convert_encoding, or recode_string is available we will use a manual mapping from UTF-8 to the target encoding which is INCOMPLETE. That is, we only convert the characters that are in our charset tables from GalleryCharsetHelper_medium.


[ Top ]
convertToUtf8  [line 130]

  void convertToUtf8( $string, [ $sourceEncoding = null]  )

Parameters:
   $string: 
   $sourceEncoding: 

API Tags:
See:  GalleryCoreApi::convertToUtf8


[ Top ]
detectSystemCharset  [line 41]

  string detectSystemCharset( )

Detect the standard charset for this system


API Tags:
Return:  an encoding (eg. "UTF-8" or "Windows-1252")


[ Top ]
utf8Strcut  [line 243]

  void utf8Strcut( $string, $start, $length  )

Parameters:
   $string: 
   $start: 
   $length: 

API Tags:
See:  GalleryCoreApi::utf8Strcut


[ Top ]
utf8Substring  [line 223]

  void utf8Substring( $string, $start, $length  )

Parameters:
   $string: 
   $start: 
   $length: 

API Tags:
See:  GalleryCoreApi::utf8Substring


[ Top ]

Documentation generated on Fri, 08 Oct 2010 04:54:04 -0700 by phpDocumentor 1.3.0RC6