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

Class: ArStandard

Source Location: /sub/ArStandard.class.php

Class Overview


This PHP class standardize Arabic text


Author(s):

Copyright:

  • 2009 Khaled Al-Shamaa

Methods



Class Details

[line 65]
This PHP class standardize Arabic text



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


method standard [line 81]

String standard( string $text, [string $inputCharset = null], [string $outputCharset = null], [object $main = null])

This method will standardize Arabic text to follow writing standards (just like magazine rules)



Tags:

return:  Standardized version of input Arabic text
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

string   $text   Arabic text you would like to standardize
string   $inputCharset   (optional) Input charset [utf-8|windows-1256|iso-8859-6] default value is NULL (use set input charset)
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:51 +0300 by phpDocumentor 1.4.0