1 views_plugin_row_rss_fields.inc | views_plugin_row_rss_fields::get_field($index, $field_id) |
Retrieves a views field value from the style plugin.
Parameters
$index: The index count of the row as expected by views_plugin_style::get_field().
$field_id: The ID assigned to the required field in the display.
File
- core/
modules/ views/ plugins/ views_plugin_row_rss_fields.inc, line 173 - Contains an implementation of RSS items based on fields on a row plugin.
Class
- views_plugin_row_rss_fields
- Renders an RSS item based on fields.
Code
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);
}