Login   Register  
PHP Classes
elePHPant
Icontem

Class: PHPBiDi

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Efthimios Mavrogeorgiadis  >  PHPBiDi  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHPBiDi
Base name: phpbidi
Description: Get visual representation of right to left strings
Related classes: , , , , , ,
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 375 users
All time rank: 5134
Week users: 0 users
Week rank: 2770
Picture of Efthimios Mavrogeorgiadis
Author: Efthimios Mavrogeorgiadis is available for providing paid consulting. Contact Efthimios Mavrogeorgiadis .
Packages: 1 Browse this author's classes Browse this author's classes
Country: Greece Greece - PHP jobs in Greece
Age: 41
All time rank: 277519 in Greece Greece
Week rank: 2255 Up17 in Greece Greece Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
PHPBiDi is an implementation of the Unicode Bidirectional Algorithm in PHP.

This package can be used to get the visual representation of text strings for languages that are written from right to left.

It can parse right to left strings of plain text or HTML and returns visually, rather than logically, ordered strings of characters.

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Localization Internationalization and translations View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  Freshmeat project   Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
February 2008
Number 3
The documents that are in certain idioms use writing systems, like the Arabic, Hebrew and Persian, that have the text characters rendered from right to left (RTL), unlike texts that use the Latin alphabet, that have the text rendered from left to right (LTR).

When you have documents that mix RTL and LTR text, you have a bidirectional text (BiDi). Bidirectional documents present a greater challenge to be rendered, as you need to figure how to render the different sections of the text.

This class provides a solution to process bidirectional documents in such way that it returns the text ordered according the way it is visually rendered.

Manuel Lemos

  Freshmeat project  
Project record: phpbidi
Popularity score: 8.06
Vitality score: 38.39

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file example.php Example Example File
Plain text file phpbidi.php Class PHPBiDi Class File
Plain text file unicode.php Class UniChar Class File
Plain text file unicode_data.php Aux. Data File

Download all files: phpbidi.tar.gz phpbidi.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.