eZTextCodec Class Reference
[Internationalization]

Handles conversion from one charset to another. More...

Inheritance diagram for eZTextCodec:

eZCodePageCodec List of all members.

Public Methods

 conversionRequired ()

Static Public Methods

 updateSettings ($settings)
 internalCharset ()
 httpCharset ()

Detailed Description

Handles conversion from one charset to another.

Supports utf8 encoding/decoding

Definition at line eztextcodec.php.


Member Function Documentation

eZTextCodec::conversionRequired  
 

/

Returns:
true if a conversion is required, if false there's no need to call the textcodec functions.

Definition at line eztextcodec.php.

eZTextCodec::httpCharset   [static]
 

Returns:
a charset value which can be used in HTTP headers.
Note:
Will return the internalCharset() if not http charset is set.

Definition at line eztextcodec.php.

References eZCharsetInfo::realCharsetCode().

eZTextCodec::internalCharset   [static]
 

Returns:
the charset which is used internally, this is the charset which all external files and resources are converted to.
Note:
will return iso-8859-1 if eZTextCodec has been updated with proper settings.

Definition at line eztextcodec.php.

References eZCharsetInfo::realCharsetCode().

Referenced by eZTemplateTreeCache::storeCache().

eZTextCodec::updateSettings   settings [static]
 

Initializes the eZTextCodec settings to the ones in the array $settings.

See also:
internalCharset, httpCharset.

Definition at line eztextcodec.php.


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

Exponential