I18N_Arabic

# Class: I18N_Arabic_Transliteration Source Location: /Arabic/Transliteration.php
### Class Overview
This PHP class transliterate English words into Arabic #### Author(s): Khaled Al-Sham'aa <khaled@ar-php.org> #### Copyright: 2006-2013 Khaled Al-Sham'aa | ### Methods ar2en arNum en2ar enNum
### Class Details [line 107] This PHP class transliterate English words into Arabic #### Tags:
author: | Khaled Al-Sham'aa <khaled@ar-php.org>
copyright: | 2006-2013 Khaled Al-Sham'aa
link: | http://www.ar-php.org
license: | LGPL
[ Top ] ### Class Methods ### static method ar2en [line 230]
`static String ar2en( string $string, [string $standard = 'UNGEGN'])`
Transliterate Arabic string into English by render them in the orthography of the English language #### Tags:
return: | Out of vocabulary Arabic string in English characters
author: | Khaled Al-Sham'aa <khaled@ar-php.org>
access: | public
#### Parameters:
string | $string | Arabic string you want to transliterate
string | $standard | Transliteration standard, default is UNGEGN and possible values are [UNGEGN, UNGEGN+, RJGC, SES, ISO233]
[ Top ] ### static method arNum [line 355]
`static String arNum( string $string)`
Render numbers in given string using HTML entities that will show them as Indian digits (i.e. ١, ٢, ٣, etc.) whatever browser language settings are (if browser supports UTF-8 character set). #### Tags:
return: | Original string after replace digits by HTML entities that will show given number using Arabic digits
author: | Khaled Al-Sham'aa <khaled@ar-php.org>
access: | public
#### Parameters:
string | $string | String includes some digits here or there
[ Top ] ### static method en2ar [line 195]
`static String en2ar( string $string)`
Transliterate English string into Arabic by render them in the orthography of the Arabic language #### Tags:
return: | Out of vocabulary English string in Arabic characters
author: | Khaled Al-Sham'aa <khaled@ar-php.org>
access: | public
#### Parameters:
string | $string | English string you want to transliterate
[ Top ] ### static method enNum [line 331]
`static String enNum( string $string)`
Render numbers in given string using HTML entities that will show them as Arabic digits (i.e. 1, 2, 3, etc.) whatever browser language settings are (if browser supports UTF-8 character set). #### Tags:
return: | Original string after replace digits by HTML entities that will show given number using Indian digits
author: | Khaled Al-Sham'aa <khaled@ar-php.org>
access: | public
#### Parameters:
string | $string | String includes some digits here or there
[ Top ] Documentation generated on Mon, 14 Jan 2013 17:49:09 +0100 by phpDocumentor 1.4.0