public function getLastSearchWasExecutedWithEmptyQueryString()
    {
        $wasEmptyQueryString = false;
        if ($this->lastResultSet != null) {
            $wasEmptyQueryString = $this->lastResultSet->getUsedSearchRequest()->getRawUserQueryIsEmptyString();
        }

        return $wasEmptyQueryString;
    }
public function getLastSearchWasExecutedWithEmptyQueryString()
    {
        $wasEmptyQueryString = false;
        if ($this->lastResultSet != null) {
            $wasEmptyQueryString = $this->lastResultSet->getUsedSearchRequest()->getRawUserQueryIsEmptyString();
        }

        return $wasEmptyQueryString;
    }
public function getLastSearchWasExecutedWithEmptyQueryString ( ) { $ wasEmptyQueryString = false ; if ( $ this -> lastResultSet != null ) { $ wasEmptyQueryString = $ this -> lastResultSet -> getUsedSearchRequest ( ) -> getRawUserQueryIsEmptyString ( ) ; } return $ wasEmptyQueryString ; }
This method returns true when the last search was executed with an empty query
string or whitespaces only. When no search was triggered it will return false.

@return bool
This method returns true when the last search was executed with an empty query string or whitespaces only . When no search was triggered it will return false .