You are here

protected function views_oai_pmh_plugin_style::get_record_query in Views OAI-PMH 7.3

Prepares the query for a 'GetRecord' OAI-PMH request.

File

plugins/views_oai_pmh_plugin_style.inc, line 243
Contains the base OAI-PMH style plugin.

Class

views_oai_pmh_plugin_style
Views OAI-PMH_plugin style.

Code

protected function get_record_query() {
  $this
    ->add_record_query_fields();
  $this->view->query
    ->add_where(0, 'node.nid', $this->request->nid, '=');
}