function sheetnode_plugin_style::render in Sheetnode 7
Same name and namespace in other branches
- 6 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::render()
- 7.2 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::render()
Render the display in this style.
Overrides views_plugin_style::render
2 methods override sheetnode_plugin_style::render()
- sheetnode_phpexcel_plugin_style::render in modules/
sheetnode_phpexcel/ sheetnode_phpexcel_plugin_style.inc - Render the display in this style.
- sheetnode_raw_plugin_style::render in views/
sheetnode_raw_plugin_style.inc - Render the display in this style.
File
- views/
sheetnode_plugin_style.inc, line 505
Class
Code
function render() {
foreach ($this->view->field as $field => $info) {
// Don't render here if we're making an editable spreadsheet view.
if ($info instanceof sheetnode_handler_field_editable) {
return;
}
}
$value = socialcalc_save($this
->render_sheet());
$element = array();
$this
->render_inject($value, FALSE, $element, '#markup');
return $element;
}