Arabic
[ class tree: Arabic ] [ index: Arabic ] [ all elements ]

Class: ArKeySwap

Source Location: /sub/ArKeySwap.class.php

Class Overview


This PHP class convert keyboard language programmatically (English - Arabic)


Author(s):

Copyright:

  • 2006-2010 Khaled Al-Shamaa

Variables

Methods



Class Details

[line 99]
This PHP class convert keyboard language programmatically (English - Arabic)



Tags:

author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
copyright:  2006-2010 Khaled Al-Shamaa
link:  http://www.ar-php.org
license:  LGPL


[ Top ]


Class Variables

static $swapAr =  '<>][/:"~}{,.ذضصثقفغعه'.
                               'خحجدشسيبلاتنمكطئءؤرىة'.
                               'وزظًٌَُّإ÷×؛ٍِأـ،ْآ’؟'

[line 105]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $swapArAzerty =  '>ضصثقفغعهخحجدشسيبلاتنم'.
                                     'كطذ\\ئءؤرىةوزظ>&é"\'(-è'.
                                     '_çà)=ضصثقغهخحجدشسيباتنمك'.
                                     'طذ\\ئءؤرىةوزظ'

[line 111]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $swapEn =  '{}DFL:"ZCV<>`qwertyuiop[]asdfghjkl;'.
                               '\'zxcvnm,./~QWERYIOPASHJKXNM?'

[line 103]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $swapFr =  '²azertyuiop^$qsdfghjklmù*<wxcvn,;:!²12345'.
                                     '67890°+AZERYIOP¨£QSDFHJKLM%µ<WXCVN?./§'

[line 109]



Tags:

access:  protected

Type:   mixed


[ Top ]

$swapAeInput =  'utf-8'

[line 120]

"swapAe" method input charset



Tags:

access:  public

Type:   String


[ Top ]

$swapAeVars = array('text')

[line 126]

Name of the textual "swapAe" method parameters



Tags:

access:  public

Type:   Array


[ Top ]

$swapEaOutput =  'utf-8'

[line 132]

"swapEa" method output charset



Tags:

access:  public

Type:   String


[ Top ]



Class Methods


static method swapAe [line 151]

static string swapAe( string $text)

Make conversion to swap that odd Arabic text by original English sentence you meant when you type on your keyboard (if keyboard language was incorrect)



Tags:

return:  Normal English string
author:  Khaled Al-Shamaa
access:  public


Parameters:

string   $text   Odd Arabic string

[ Top ]

static method swapEa [line 202]

static string swapEa( string $text)

Make conversion to swap that odd English text by original Arabic sentence you meant when you type on your keyboard (if keyboard language was incorrect)



Tags:

return:  Normal Arabic string
author:  Khaled Al-Shamaa
access:  public


Parameters:

string   $text   Odd English string

[ Top ]

constructor __construct [line 137]

ArKeySwap __construct( )

Loads initialize values



Tags:

access:  public


[ Top ]


Documentation generated on Sat, 14 Aug 2010 13:23:55 -0700 by phpDocumentor 1.4.0