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:

  • 2009 Khaled Al-Shamaa

Methods



Class Details

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



Tags:

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


[ Top ]


Class Methods


static method swap_ae [line 119]

static string swap_ae( string $text, [string $inputCharset = null], [object $main = null])

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
string   $inputCharset   (optional) Input charset [utf-8|windows-1256|iso-8859-6] default value is NULL (use set input charset)
object   $main   Main Ar-PHP object to access charset converter options

[ Top ]

static method swap_ea [line 178]

static string swap_ea( string $text, [string $outputCharset = null], [object $main = null])

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
string   $outputCharset   (optional) Output charset [utf-8|windows-1256|iso-8859-6] default value is NULL (use set output charset)
object   $main   Main Ar-PHP object to access charset converter options

[ Top ]


Documentation generated on Tue, 18 Aug 2009 00:12:49 +0300 by phpDocumentor 1.4.0