src/db/Location.php
public function getLocationString()
    {
        $normalized = '';
        if ($this->city !== null) {
            $normalized .= $this->city->name;
        }
        if ($this->region !== null) {
            $normalized .= ' ' . $this->region->name;
        }
        if ($this->postal_code !== null) {
            $normalized .= ' ' . $this->postal_code;
        }
        return $normalized;
    }
public function getLocationString()
    {
        $normalized = '';
        if ($this->city !== null) {
            $normalized .= $this->city->name;
        }
        if ($this->region !== null) {
            $normalized .= ' ' . $this->region->name;
        }
        if ($this->postal_code !== null) {
            $normalized .= ' ' . $this->postal_code;
        }
        return $normalized;
    }
public function getLocationString ( ) { $ normalized = '' ; if ( $ this -> city !== null ) { $ normalized .= $ this -> city -> name ; } if ( $ this -> region !== null ) { $ normalized .= ' ' . $ this -> region -> name ; } if ( $ this -> postal_code !== null ) { $ normalized .= ' ' . $ this -> postal_code ; } return $ normalized ; }
Gets the string identifying the fixed part of the location.

@return string
Gets the string identifying the fixed part of the location .