You are here

public function biblio_handler_citation::init in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 views/biblio_handler_citation.inc \biblio_handler_citation::init()
  2. 6 views/biblio_handler_citation.inc \biblio_handler_citation::init()
  3. 7.2 views/biblio_handler_citation.inc \biblio_handler_citation::init()

Init the handler with necessary data.

Parameters

view $view: The $view object this handler is attached to.

array $options: The item from the database; the actual contents of this will vary based upon the type of handler.

Overrides views_handler_field::init

File

views/biblio_handler_citation.inc, line 11

Class

biblio_handler_citation

Code

public function init(&$view, &$options) {
  parent::init($view, $options);
  $this->additional_fields['nid'] = array(
    'table' => 'node',
    'field' => 'nid',
  );
}