roundcubemail/program/lib/Roundcube/rcube_plugin_api.php
private function filter($plugin)
    {
        return ($plugin->noajax  && !(is_object($this->output) && $this->output->type == 'html'))
             || ($plugin->task && !preg_match('/^('.$plugin->task.')$/i', $this->task))
             || ($plugin->noframe && !empty($_REQUEST['_framed']));
    }
private function filter($plugin)
    {
        return ($plugin->noajax  && !(is_object($this->output) && $this->output->type == 'html'))
             || ($plugin->task && !preg_match('/^('.$plugin->task.')$/i', $this->task))
             || ($plugin->noframe && !empty($_REQUEST['_framed']));
    }
private function filter ( $ plugin ) { return ( $ plugin -> noajax && ! ( is_object ( $ this -> output ) && $ this -> output -> type == 'html' ) ) || ( $ plugin -> task && ! preg_match ( '/^(' . $ plugin -> task . ')$/i' , $ this -> task ) ) || ( $ plugin -> noframe && ! empty ( $ _REQUEST [ '_framed' ] ) ) ; }
check if we should prevent this plugin from initialising

@param $plugin
@return bool
check if we should prevent this plugin from initialising