function views_plugin_style::get_field
Same name in other branches
- 6.x-3.x plugins/views_plugin_style.inc \views_plugin_style::get_field()
Get a rendered field.
Parameters
int $index: The index count of the row.
string $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 581
Class
- views_plugin_style
- Base class to define a style plugin handler.
Code
public 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];
}
}