Documentation
getCountryID
usage
string = user->getCountryID()
retourne
the country 3 letters ISO code the visitor is consulting the website from.
exemples
include_once('../Kernel/common/nql.class.php');
include_once('../Kernel/common/officity_user.class.php');
$user = new officityUser();
$nql = new NQL(false);
$nql->addCommand(
'<GET>
<COUNTRY ID="'.$user->getCountryID().'"/>
</GET>');
$nql->execute();
echo $nql->valueOf('/RESPONSE/RESULTS/COUNTRY/LABEL'); // displays "Belgium"