public function address(ComLocationsDomainEntityLocation $location)
    {
        $text = array();

        if ($location->address) {
            $text[] = $location->address;
        }

        if ($location->city) {
            $text[] = $location->city;
        }

        if ($location->state_province) {
            $text[] = $location->state_province;
        }

        if ($location->country) {
            $text[] = LibBaseTemplateHelperSelector::$COUNTRIES[$location->country];
        }

        if ($location->postalcode) {
            $text[] = $location->postalcode;
        }

        return implode(', ', $text);
    }