Get gender of a name.


(PECL gender >= 0.6.0)

Gender\Gender::getGet gender of a name.

Описание

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

Get the gender of the name in a particular country.

Список параметров

name

Name to check.

country

Country id identified by Gender class constant.

Возвращаемые значения

Returns gender of the name.