You are here

function views_plugin_row::init in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_row.inc \views_plugin_row::init()
  2. 7.3 plugins/views_plugin_row.inc \views_plugin_row::init()

Initialize the row plugin.

Overrides views_plugin::init

1 call to views_plugin_row::init()
views_plugin_row_node_view::init in modules/node/views_plugin_row_node_view.inc
Initialize the row plugin.
1 method overrides views_plugin_row::init()
views_plugin_row_node_view::init in modules/node/views_plugin_row_node_view.inc
Initialize the row plugin.

File

plugins/views_plugin_row.inc, line 28
Contains the base row style plugin.

Class

views_plugin_row
Default plugin to view a single row of a table. This is really just a wrapper around a theme function.

Code

function init(&$view, &$display, $options = NULL) {
  $this->view =& $view;
  $this->display =& $display;

  // Overlay incoming options on top of defaults
  $this
    ->unpack_options($this->options, isset($options) ? $options : $display->handler
    ->get_option('row_options'));
}