📚 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 / eZShuffleTranslator  

eZShuffleTranslator Class Reference
[Translation]

Translates text by moving characters around. More...

Inheritance diagram for eZShuffleTranslator:

TODO — Image not available in archive

Title:   eZShuffleTranslator Class Inheritance Diagram (Doxygen)
File:    /doc/generated/html/classeZShuffleTranslator.png

What this image shows:
Doxygen-generated class inheritance diagram for the eZShuffleTranslator PHP class. Shows the inheritance hierarchy: which classes eZShuffleTranslator 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 classeZShuffleTranslator.png in the output. Or draw the inheritance tree manually from the API reference. Save as /doc/generated/html/classeZShuffleTranslator.png

See /sdk/missing.html for the full list of missing images.
eZTranslatorHandler List of all members.

Public Methods

 eZShuffleTranslator ($max_chars=3)
findMessage ($context,$source,$comment=null)
shuffleText ($text)
translate ($context,$source,$comment=null)

Private Attributes

 Messages

Detailed Description

Translates text by moving characters around.

Definition at line ezshuffletranslator.php.


Constructor & Destructor Documentation

eZShuffleTranslator::eZShuffleTranslator   max_chars = 3
 

Construct the translator and loads the translation file $file if is set and exists.

Definition at line ezshuffletranslator.php.

References Messages.


Member Function Documentation

& eZShuffleTranslator::findMessage   context,
  source,
  comment = null
[virtual]
 

Reimplemented for internal reasons; the API is not affected.

Implements eZTranslatorHandler.

Definition at line ezshuffletranslator.php.

References shuffleText().

Referenced by translate().

& eZShuffleTranslator::shuffleText   text
 

Reorders some of the characters in $text and returns the new text string. The maximum number of reorders is taken from MaxChars.

Definition at line ezshuffletranslator.php.

Referenced by findMessage().

& eZShuffleTranslator::translate   context,
  source,
  comment = null
[virtual]
 

Reimplemented for internal reasons; the API is not affected.

Implements eZTranslatorHandler.

Definition at line ezshuffletranslator.php.

References findMessage().


Member Data Documentation

eZShuffleTranslator::Messages [private]
 

Contains the hash table with cached 1337 translations

Definition at line ezshuffletranslator.php.

Referenced by eZShuffleTranslator().


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

Exponential Copyright © 1998 - 2026 7x