original_string: public function connectToServer($address, $options = array())
  	{
  		$parameters = NULL;
  
  		if ( array_key_exists('port', $options) )
  		{
  			$parameters = ':'.$options['port'];
  		}
  		if ( array_key_exists('password', $options) )
  		{
  			$parameters .= '/'.$options['password'];
  		}		
  		return $this->protocol.'connect/'.$address.$parameters;
  	}
code: public function connectToServer($address, $options = array())
  	{
  		$parameters = NULL;
  
  		if ( array_key_exists('port', $options) )
  		{
  			$parameters = ':'.$options['port'];
  		}
  		if ( array_key_exists('password', $options) )
  		{
  			$parameters .= '/'.$options['password'];
  		}		
  		return $this->protocol.'connect/'.$address.$parameters;
  	}
code_tokens: public function connectToServer ( $ address , $ options = array ( ) ) { $ parameters = NULL ; if ( array_key_exists ( 'port' , $ options ) ) { $ parameters = ':' . $ options [ 'port' ] ; } if ( array_key_exists ( 'password' , $ options ) ) { $ parameters .= '/' . $ options [ 'password' ] ; } return $ this -> protocol . 'connect/' . $ address . $ parameters ; }
docstring: Generates a link to connecto the specified server
  @param  string   $address Server IP or hostname
  @param  array   $options Server port and password
  @return string
docstring_tokens: Generates a link to connecto the specified server