protected function _pluginCondition(ServerRequest $request)
    {
        if ($request->getParam('plugin') !== null) {
            return [$this->getAlias() . '.plugin' => $request->getParam('plugin')];
        }

        return [$this->getAlias() . '.plugin IS NULL'];
    }
protected function _pluginCondition(ServerRequest $request)
    {
        if ($request->getParam('plugin') !== null) {
            return [$this->getAlias() . '.plugin' => $request->getParam('plugin')];
        }

        return [$this->getAlias() . '.plugin IS NULL'];
    }
protected function _pluginCondition ( ServerRequest $ request ) { if ( $ request -> getParam ( 'plugin' ) !== null ) { return [ $ this -> getAlias ( ) . '.plugin' => $ request -> getParam ( 'plugin' ) ] ; } return [ $ this -> getAlias ( ) . '.plugin IS NULL' ] ; }
Get the plugin query condition for a given request.

@param ServerRequest $request
@return array
Get the plugin query condition for a given request .