protected function checkAndSetServerOptions()
    {

        // Specific query port defined
        if (array_key_exists(self::SERVER_OPTIONS_QUERY_PORT, $this->options)) {
            $this->port_query = (int)$this->options[self::SERVER_OPTIONS_QUERY_PORT];
        } else {
            // Do math based on the protocol class
            $this->port_query = $this->protocol->findQueryPort($this->port_client);
        }
    }
protected function checkAndSetServerOptions()
    {

        // Specific query port defined
        if (array_key_exists(self::SERVER_OPTIONS_QUERY_PORT, $this->options)) {
            $this->port_query = (int)$this->options[self::SERVER_OPTIONS_QUERY_PORT];
        } else {
            // Do math based on the protocol class
            $this->port_query = $this->protocol->findQueryPort($this->port_client);
        }
    }
protected function checkAndSetServerOptions ( ) { // Specific query port defined if ( array_key_exists ( self :: SERVER_OPTIONS_QUERY_PORT , $ this -> options ) ) { $ this -> port_query = ( int ) $ this -> options [ self :: SERVER_OPTIONS_QUERY_PORT ] ; } else { // Do math based on the protocol class $ this -> port_query = $ this -> protocol -> findQueryPort ( $ this -> port_client ) ; } }
Check and set any server specific options
Check and set any server specific options