Gender\Gender::get

(PECL gender >= 0.6.0)

Gender\Gender::getGet gender of a name

Descrierea

public Gender\Gender::get ( string $name [, int $country ] ) : int

Get the gender of the name in a particular country.

Parametri

name

Name to check.

country

Country id identified by Gender class constant.

Valorile întoarse

Returns gender of the name.