La clase Gender\Gender

(PECL gender >= 0.6.0)

Introducción

Sinopsis de la Clase

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

Constantes predefinidas

Gender\Gender::IS_FEMALE

Gender\Gender::IS_MOSTLY_FEMALE

Gender\Gender::IS_MALE

Gender\Gender::IS_MOSTLY_MALE

Gender\Gender::IS_UNISEX_NAME

Gender\Gender::IS_A_COUPLE

Gender\Gender::NAME_NOT_FOUND

Gender\Gender::ERROR_IN_NAME

Gender\Gender::ANY_COUNTRY

Gender\Gender::BRITAIN

Gender\Gender::IRELAND

Gender\Gender::USA

Gender\Gender::SPAIN

Gender\Gender::PORTUGAL

Gender\Gender::ITALY

Gender\Gender::MALTA

Gender\Gender::FRANCE

Gender\Gender::BELGIUM

Gender\Gender::LUXEMBOURG

Gender\Gender::NETHERLANDS

Gender\Gender::GERMANY

Gender\Gender::EAST_FRISIA

Gender\Gender::AUSTRIA

Gender\Gender::SWISS

Gender\Gender::ICELAND

Gender\Gender::DENMARK

Gender\Gender::NORWAY

Gender\Gender::SWEDEN

Gender\Gender::FINLAND

Gender\Gender::ESTONIA

Gender\Gender::LATVIA

Gender\Gender::LITHUANIA

Gender\Gender::POLAND

Gender\Gender::CZECH_REP

Gender\Gender::SLOVAKIA

Gender\Gender::HUNGARY

Gender\Gender::ROMANIA

Gender\Gender::BULGARIA

Gender\Gender::BOSNIA

Gender\Gender::CROATIA

Gender\Gender::KOSOVO

Gender\Gender::MACEDONIA

Gender\Gender::MONTENEGRO

Gender\Gender::SERBIA

Gender\Gender::SLOVENIA

Gender\Gender::ALBANIA

Gender\Gender::GREECE

Gender\Gender::RUSSIA

Gender\Gender::BELARUS

Gender\Gender::MOLDOVA

Gender\Gender::UKRAINE

Gender\Gender::ARMENIA

Gender\Gender::AZERBAIJAN

Gender\Gender::GEORGIA

Gender\Gender::KAZAKH_UZBEK

Gender\Gender::TURKEY

Gender\Gender::ARABIA

Gender\Gender::ISRAEL

Gender\Gender::CHINA

Gender\Gender::INDIA

Gender\Gender::JAPAN

Gender\Gender::KOREA

Tabla de contenidos

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top