diff --git a/reference/gender/gender/country.xml b/reference/gender/gender/country.xml index bc0fc7d1c3..887cc413a7 100644 --- a/reference/gender/gender/country.xml +++ b/reference/gender/gender/country.xml @@ -4,38 +4,67 @@ Gender\Gender::country - Get textual country representation. + Get textual country representation &reftitle.description; - public stringGender\Gender::country + public arrayGender\Gender::country integercountry - Get textual country representation from a Gender class constant. + Returns the textual representation of a country from a Gender class + constant. &reftitle.parameters; - - country - - - Country id identified by Gender class constant. - - - + + country + + + A country ID specified by a Gender\Gender class + constant. + + + - &reftitle.returnvalues; + &reftitle.returnvalues; + + Returns an array with the short and full names of the country on success + &return.falseforfailure;. + + + + + &reftitle.examples; - Returns country name as string or false on failure. + + Using <methodname>Gender\Gender::country</methodname> + +country(Gender\Gender::BRITAIN)); +]]> + + &example.outputs; + + + string(2) "UK" + 'country' => + string(13) "Great Britain" +} +]]> + +