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

Class: ArKeySwap

Source Location: /sub/ArKeySwap.class.php

Class Overview


PHP class to convert keyboard language between English and Arabic programmatically. This function can be helpful in dual language forms when users miss change keyboard language while they are entering data.


Author(s):

Copyright:

  • Khaled Al-Shamaa 2008

Methods



Class Details

[line 39]
PHP class to convert keyboard language between English and Arabic programmatically. This function can be helpful in dual language forms when users miss change keyboard language while they are entering data.



Tags:

author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
copyright:  Khaled Al-Shamaa 2008
link:  http://www.ar-php.com


[ Top ]


Class Methods


constructor __construct [line 49]

ArKeySwap __construct( )



Tags:

access:  public


[ Top ]

method swap_ae [line 209]

String swap_ae( String $text)

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



Tags:

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


Parameters:

String   $text   Odd Arabic string

[ Top ]

method swap_ea [line 230]

String swap_ea( String $text)

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



Tags:

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


Parameters:

String   $text   Odd English string

[ Top ]


Documentation generated on Thu, 21 Feb 2008 13:58:54 +0200 by phpDocumentor 1.4.0