public function views_plugin_row_rss_fields::get_field in Views (for Drupal 7) 7.3
Retrieves a views field value from the style plugin.
Parameters
int $index: The index of the row as expected by views_plugin_style::get_field().
string $field_id: The ID assigned to the required field in the display.
1 call to views_plugin_row_rss_fields::get_field()
- views_plugin_row_rss_fields::render in plugins/
views_plugin_row_rss_fields.inc - Render a row object. This usually passes through to a theme template of some form, but not always.
File
- plugins/
views_plugin_row_rss_fields.inc, line 187 - Definition of views_plugin_row_rss_fields.
Class
- views_plugin_row_rss_fields
- Renders an RSS item based on fields.
Code
public function get_field($index, $field_id) {
if (empty($this->view->style_plugin) || !is_object($this->view->style_plugin) || empty($field_id)) {
return '';
}
return $this->view->style_plugin
->get_field($index, $field_id);
}