📚 Looking for current Exponential documentation? This site contains legacy SDK & API reference docs (eZ Publish era). For up-to-date 2026 product documentation, visit doc.exponential.earth.

  class / eZTextCodec  

eZTextCodec Class Reference
[Internationalization]

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

Inheritance diagram for eZTextCodec:

TODO — Image not available in archive

Title:   eZTextCodec Class Inheritance Diagram (Doxygen)
File:    /doc/generated/html/classeZTextCodec.png

What this image shows:
Doxygen-generated class inheritance diagram for the eZTextCodec PHP class. Shows the inheritance hierarchy: which classes eZTextCodec extends and which classes inherit from it, with links to parent and child class documentation. This diagram was auto-generated from the Exponential 3.1 PHP source code using Doxygen circa 2003.

Replacement instructions:
Run Doxygen on the Exponential 3.1 PHP source and locate the generated classeZTextCodec.png in the output. Or draw the inheritance tree manually from the API reference. Save as /doc/generated/html/classeZTextCodec.png

See /sdk/missing.html for the full list of missing images.
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 Copyright © 1998 - 2026 7x