Test Ar-PHP Functionality Online
Test PHP Function
Sub Class:
- Select one -
AutoSummarize
CharsetD
CompressStr
Date
Gender
Glyphs
Hiero
Identifier
KeySwap
Mktime
Normalise
Numbers
Query
Salat
Sort
Soundex
Standard
Stemmer
StrToTime
Transliteration
WordTag
Method:
- Select one -
setLen
setLang
setCode
getLen
getLang
getCode
mapCode
trimRep
soundex
str:
Result (
var_dump
output):
Ar-PHP Manual
method setCode
[line
191
]
object setCode( string $str)
Set the mapping code of the soundex key (default value is "soundex")
Tags:
return:
to build a fluent interface
author:
Khaled Al-Sham'aa <
khaled@ar-php.org
>
access:
public
Parameters:
string
$str
Soundex key mapping code [soundex|phonix]
Example
include
(
'./I18N/Arabic.php'
)
;
$obj
=
new
I18N_Arabic
(
'Soundex'
)
;
$soundex
=
$obj
->
soundex
(
$name
)
;
Popular
utf8Glyphs
(1182)
ar2en
(963)
money2str
(550)
en2ar
(394)
isFemale
(291)
Recent
a4Lines
(5 days)
utf8Glyphs
(5 days)
ar2en
(5 days)
money2str
(26 days)
str2graph
(26 days)
Links
Homepage
Download
Bug Report
Feature Request
My Blog
My Twitter
Ads!
Home
|
Twitter
|
Blog
|
Contact
Copyright © 2006 - 2016 Khaled Al-Sham'aa