library/QATools/QATools/PageObject/Url/Builder.php
protected function getPortForBuild()
	{
		if ( !$this->getPort() ) {
			return '';
		}

		$default_ports = array('http' => 80, 'https' => 443);

		if ( $this->getPort() === $default_ports[$this->getProtocol()] ) {
			return '';
		}

		return ':' . $this->getPort();
	}
protected function getPortForBuild()
	{
		if ( !$this->getPort() ) {
			return '';
		}

		$default_ports = array('http' => 80, 'https' => 443);

		if ( $this->getPort() === $default_ports[$this->getProtocol()] ) {
			return '';
		}

		return ':' . $this->getPort();
	}
protected function getPortForBuild ( ) { if ( ! $ this -> getPort ( ) ) { return '' ; } $ default_ports = array ( 'http' => 80 , 'https' => 443 ) ; if ( $ this -> getPort ( ) === $ default_ports [ $ this -> getProtocol ( ) ] ) { return '' ; } return ':' . $ this -> getPort ( ) ; }
Get the final port for build.

@return string
Get the final port for build .