PHP Conference Nagoya 2025

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_MALE = 77;
const integer IS_MOSTLY_MALE = 109;
const integer IS_A_COUPLE = 67;
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
}

Tabla de contenidos

add a note

User Contributed Notes

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