function onQuery( $query, $params = array() ) {

        if ( is_callable( $this->queryCallback ) ) {

            call_user_func( $this->queryCallback, $query, $params );

        }

    }
function onQuery( $query, $params = array() ) {

        if ( is_callable( $this->queryCallback ) ) {

            call_user_func( $this->queryCallback, $query, $params );

        }

    }
function onQuery ( $ query , $ params = array ( ) ) { if ( is_callable ( $ this -> queryCallback ) ) { call_user_func ( $ this -> queryCallback , $ query , $ params ) ; } }
Calls the query callback, if any

@param string $query
@param array $params
Calls the query callback if any