function views_plugin_style::get_field
3.x views_plugin_style.inc | views_plugin_style::get_field($index, $field) |
2.x views_plugin_style.inc | views_plugin_style::get_field($index, $field) |
Get a rendered field.
Parameters
$index: The index count of the row.
$field: The id of the field.
2 calls to views_plugin_style::get_field()
- views_plugin_style::render_grouping in plugins/
views_plugin_style.inc - Group records as needed for rendering.
- views_plugin_style_jump_menu::render in plugins/
views_plugin_style_jump_menu.inc - Render the display in this style.
File
- plugins/
views_plugin_style.inc, line 545 - Definition of views_plugin_style.
Class
- views_plugin_style
- Base class to define a style plugin handler.
Code
function get_field($index, $field) {
if (!isset($this->rendered_fields)) {
$this->render_fields($this->view->result);
}
if (isset($this->rendered_fields[$index][$field])) {
return $this->rendered_fields[$index][$field];
}
}