public function getRelativeBase() { $relativeBase = '//' . $this->m_host; if (is_numeric($this->m_port)) { $relativeBase .= ':' . $this->m_port; } return $relativeBase; }