public function getLocation()
    {
        $country = $this->getCountry();
        $city = $this->getCity();

        return (empty($country)) ? $city : $country . ', ' . $city;
    }
public function getLocation()
    {
        $country = $this->getCountry();
        $city = $this->getCity();

        return (empty($country)) ? $city : $country . ', ' . $city;
    }
public function getLocation ( ) { $ country = $ this -> getCountry ( ) ; $ city = $ this -> getCity ( ) ; return ( empty ( $ country ) ) ? $ city : $ country . ', ' . $ city ; }
User's location

Returns city or concatenation of country and city

@return string Location
User s location