src/POData/UriProcessor/QueryProcessor/QueryProcessor.php
/**
     * Checks whether client request contains any odata query options.
     * 
     * @return void
     * 
     * @throws ODataException Throws bad request error if client request 
     *                        includes any odata query option.
     */
Checks whether client request contains any odata query options.

@return void

@throws ODataException Throws bad request error if client request
includes any odata query option.
Checks whether client request contains any odata query options . @return void @throws ODataException Throws bad request error if client request includes any odata query option .
private function _checkForEmptyQueryArguments()
    {
        $serviceHost = $this->service->getHost();
        if (!is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_FILTER))
            || !is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_EXPAND))
            || !is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_INLINECOUNT))
            || !is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_ORDERBY))
            || !is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_SELECT))
            || !is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_SKIP))
            || !is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_SKIPTOKEN))
            || !is_null($serviceHost->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_TOP))
        ) {
			throw ODataException::createBadRequestError(
                Messages::queryProcessorNoQueryOptionsApplicable()
            );
        }
    }
private function _checkForEmptyQueryArguments ( ) { $ serviceHost = $ this -> service -> getHost ( ) ; if ( ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_FILTER ) ) || ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_EXPAND ) ) || ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_INLINECOUNT ) ) || ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_ORDERBY ) ) || ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_SELECT ) ) || ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_SKIP ) ) || ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_SKIPTOKEN ) ) || ! is_null ( $ serviceHost -> getQueryStringItem ( ODataConstants :: HTTPQUERY_STRING_TOP ) ) ) { throw ODataException :: createBadRequestError ( Messages :: queryProcessorNoQueryOptionsApplicable ( ) ) ; } }
Checks whether client request contains any odata query options.
Checks whether client request contains any odata query options .