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

Class: Hiero

Source Location: /sub/Hiero.class.php

Class Overview


Translate English word into Hieroglyphics


Author(s):

Copyright:

  • 2006-2010 Khaled Al-Shamaa

Variables

Methods



Class Details

[line 95]
Translate English word into Hieroglyphics



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

$str2hieroInput =  'windows-1256'

[line 101]

"str2hiero" method input charset



Tags:

access:  public

Type:   String


[ Top ]

$str2hieroVars = array('word')

[line 107]

Name of the textual "str2hiero" method parameters



Tags:

access:  public

Type:   Array


[ Top ]



Class Methods


constructor __construct [line 112]

Hiero __construct( )

Loads initialize values



Tags:

access:  public


[ Top ]

method str2hiero [line 129]

resource str2hiero( 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-Shamaa <khaled.alshamaa@gmail.com>
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 Sat, 14 Aug 2010 13:23:59 -0700 by phpDocumentor 1.4.0