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

Class: I18N_Arabic_Hiero

Source Location: /Arabic/Hiero.php

Class Overview


Translate English word into Hieroglyphics


Author(s):

Copyright:

  • 2006-2013 Khaled Al-Sham'aa

Methods



Class Details

[line 103]
Translate English word into Hieroglyphics



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


method getLanguage [line 141]

string getLanguage( )

Get the output language



Tags:

return:  return current setting of the output language
author:  Khaled Al-Sham'aa <khaled@ar-php.org>
access:  public


[ Top ]

method setLanguage [line 124]

object setLanguage( string $value)

Set the output language



Tags:

return:  to build a fluent interface
author:  Khaled Al-Sham'aa <khaled@ar-php.org>
access:  public


Parameters:

string   $value   Output language (Hiero or Phoenician)

[ Top ]

method str2graph [line 159]

resource str2graph( string $word, [string $dir = 'ltr'], [string $lang = 'en'], [integer $red = null], [integer $green = null], [integer $blue = null])

Translate Arabic or English word into Hieroglyphics



Tags:

return:  Image resource identifier
author:  Khaled Al-Sham'aa <khaled@ar-php.org>
access:  public


Parameters:

string   $word   Arabic or English word
string   $dir   Writing direction [ltr, rtl, ttd, dtt] (default ltr)
string   $lang   Input language [en, ar] (default en)
integer   $red   Value of background red component (default is null)
integer   $green   Value of background green component (default is null)
integer   $blue   Value of background blue component (default is null)

[ Top ]


Documentation generated on Mon, 14 Jan 2013 17:48:50 +0100 by phpDocumentor 1.4.0