You are here

function views_handler_field_amazon_title::init in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 6 includes/views_handler_field_amazon_title.inc \views_handler_field_amazon_title::init()
  2. 6 includes/views_handler_filter_amazon_node_module.inc \views_handler_field_amazon_title::init()
  3. 7.2 includes/views_handler_field_amazon_title.inc \views_handler_field_amazon_title::init()

Override init function to provide generic option to link to node.

Overrides views_handler_field::init

File

includes/views_handler_field_amazon_title.inc, line 14

Class

views_handler_field_amazon_title

Code

function init(&$view, &$data) {
  parent::init($view, $data);
  $this->additional_fields['detailpageurl'] = 'detailpageurl';
  $this->additional_fields['asin'] = 'asin';
}