Determine gender of firstnamesTable of Contents
The Gender\Gender classIntroduction
Class synopsisGender\Gender
class Gender\Gender
{
/* Constants */
const
integer
Gender\Gender::IS_FEMALE
= 70
;
const
integer
Gender\Gender::IS_MOSTLY_FEMALE
= 102
;
const
integer
Gender\Gender::IS_MALE
= 77
;
const
integer
Gender\Gender::IS_MOSTLY_MALE
= 109
;
const
integer
Gender\Gender::IS_UNISEX_NAME
= 63
;
const
integer
Gender\Gender::IS_A_COUPLE
= 67
;
const
integer
Gender\Gender::NAME_NOT_FOUND
= 32
;
const
integer
Gender\Gender::ERROR_IN_NAME
= 69
;
const
integer
Gender\Gender::ANY_COUNTRY
= 0
;
const
integer
Gender\Gender::BRITAIN
= 1
;
const
integer
Gender\Gender::IRELAND
= 2
;
const
integer
Gender\Gender::USA
= 3
;
const
integer
Gender\Gender::SPAIN
= 4
;
const
integer
Gender\Gender::PORTUGAL
= 5
;
const
integer
Gender\Gender::ITALY
= 6
;
const
integer
Gender\Gender::MALTA
= 7
;
const
integer
Gender\Gender::FRANCE
= 8
;
const
integer
Gender\Gender::BELGIUM
= 9
;
const
integer
Gender\Gender::LUXEMBOURG
= 10
;
const
integer
Gender\Gender::NETHERLANDS
= 11
;
const
integer
Gender\Gender::GERMANY
= 12
;
const
integer
Gender\Gender::EAST_FRISIA
= 13
;
const
integer
Gender\Gender::AUSTRIA
= 14
;
const
integer
Gender\Gender::SWISS
= 15
;
const
integer
Gender\Gender::ICELAND
= 16
;
const
integer
Gender\Gender::DENMARK
= 17
;
const
integer
Gender\Gender::NORWAY
= 18
;
const
integer
Gender\Gender::SWEDEN
= 19
;
const
integer
Gender\Gender::FINLAND
= 20
;
const
integer
Gender\Gender::ESTONIA
= 21
;
const
integer
Gender\Gender::LATVIA
= 22
;
const
integer
Gender\Gender::LITHUANIA
= 23
;
const
integer
Gender\Gender::POLAND
= 24
;
const
integer
Gender\Gender::CZECH_REP
= 25
;
const
integer
Gender\Gender::SLOVAKIA
= 26
;
const
integer
Gender\Gender::HUNGARY
= 27
;
const
integer
Gender\Gender::ROMANIA
= 28
;
const
integer
Gender\Gender::BULGARIA
= 29
;
const
integer
Gender\Gender::BOSNIA
= 30
;
const
integer
Gender\Gender::CROATIA
= 31
;
const
integer
Gender\Gender::KOSOVO
= 32
;
const
integer
Gender\Gender::MACEDONIA
= 33
;
const
integer
Gender\Gender::MONTENEGRO
= 34
;
const
integer
Gender\Gender::SERBIA
= 35
;
const
integer
Gender\Gender::SLOVENIA
= 36
;
const
integer
Gender\Gender::ALBANIA
= 37
;
const
integer
Gender\Gender::GREECE
= 38
;
const
integer
Gender\Gender::RUSSIA
= 39
;
const
integer
Gender\Gender::BELARUS
= 40
;
const
integer
Gender\Gender::MOLDOVA
= 41
;
const
integer
Gender\Gender::UKRAINE
= 42
;
const
integer
Gender\Gender::ARMENIA
= 43
;
const
integer
Gender\Gender::AZERBAIJAN
= 44
;
const
integer
Gender\Gender::GEORGIA
= 45
;
const
integer
Gender\Gender::KAZAKH_UZBEK
= 46
;
const
integer
Gender\Gender::TURKEY
= 47
;
const
integer
Gender\Gender::ARABIA
= 48
;
const
integer
Gender\Gender::ISRAEL
= 49
;
const
integer
Gender\Gender::CHINA
= 50
;
const
integer
Gender\Gender::INDIA
= 51
;
const
integer
Gender\Gender::JAPAN
= 52
;
const
integer
Gender\Gender::KOREA
= 53
;
/* Methods */
public boolean connect
( string
$dsn
)
public __construct
([ string
$dsn
] )
public array country
( integer
$country
)
public integer get
( string
$name
[, integer $country
] )
public array isNick
( string
$name0
, string $name1
[, integer $country
] )
public array similarNames
( string
}$name
[, integer $country
] )Predefined Constants
|